ae17ab41b7
2011-07-11 Catherine Moore <clm@codesourcery.com> * bfdlink.h (flag_type): New enumeration. (flag_info_list): New structure. (flag_info): New structure. bfd/ChangeLog 2011-07-11 Catherine Moore <clm@codesourcery.com> * aout-adobe.c (aout_32_bfd_lookup_section_flags): New definition. * aout-target.h (MY_bfd_lookup_section_flags): New definition. * aout-tic30.c (MY_bfd_lookup_section_flags): New definition. * bfd-in2.h: Regenerated. * bfd.c (bfd_lookup_section_flags): New definition. * binary.c (binary_bfd_lookup_section_flags): New definition. * bout.c (b_out_bfd_lookup_section_flags): New definition. * coff-alpha.c (_bfd_ecoff_bfd_lookup_section_flags): New definition. * coff-mips.c (_bfd_ecoff_bfd_lookup_section_flags): New definition. * coff-rs6000.c (rs6000coff_vec): Include bfd_generic_lookup_section_flags. (pmac_xcoff_vec): Likewise. * coffcode.h (coff_bfd_lookup_section_flags): New definition. * coff64-rs6000.c (rs6000coff64_vec): Include bfd_generic_lookup_section_flags. (aix5coff64_vec): Likewise. * ecoff.c (bfd_debug_section): Initialize flag_info field. * elf-bfd.h (elf_backend_lookup_section_flags_hook): Declare. (bfd_elf_lookup_section_flags): Declare. * elflink.c (bfd_elf_lookup_section_flags): New function. * elfxx-target.h (bfd_elfNN_bfd_lookup_section_flags): Define. (elf_backend_lookup_section_flags_hook): Define. (elf_backend_data): Add elf_backend_lookup_section_flags_hook. * i386msdos.c (msdos_bfd_lookup_section_flags): New define. * i386os9k.c (os9k_bfd_lookup_section_flags): New define. * ieee.c (ieee_bfd_lookup_section_flags): New define. * ihex.c (ihex_bfd_lookup_section_flags): New define. * libbfd-in.h (_bfd_nolink_bfd_lookup_section_flags): Declare. (bfd_generic_lookup_section_flags): Declare. * libbfd.h: Regenerated. * mach-o-target.c (bfd_mach_o_bfd_lookup_section_flags): New. * mmo.c (mmo_bfd_lookup_section_flags): New definition. * nlm-target.h (nlm_bfd_lookup_section_flags): New definition. * oasys.c (oasys_bfd_lookup_section_flags): New definition. * pef.c (bfd_pef_bfd_lookup_section_flags): New definition. * plugin.c (bfd_plugin_bfd_lookup_section_flags): New definition. * ppcboot.c (ppcboot_bfd_lookup_section_flags): New definition. * reloc.c (bfd_generic_lookup_section_flags): New function. * som.c (som_bfd_lookup_section_flags): New definition. * srec.c (srec_bfd_lookup_section_flags): New definition. * targets.c (flag_info): Declare. (NAME##_bfd_lookup_section_flags): Add to LINK jump table. (_bfd_lookup_section_flags): New. * tekhex.c (tekhex_bfd_lookup_section_flags): New definition. * versados.c (versados_bfd_lookup_section_flags): New definition. * vms-alpha.c (alpha_vms_bfd_lookup_section_flag): New definition. * xsym.c (bfd_sym_bfd_lookup_section_flags): New definition. ld/ChangeLog 2011-07-11 Catherine Moore <clm@codesourcery.com> * ld.h (section_flag_list): Add field to struct wildcard_spec. * ld.texinfo (INPUT_SECTION_FLAGS): Document. * ldgram.y (flag_info_list, flag_info): Add to union. (INPUT_SECTION_FLAGS): New token. (wildcard_spec): Initialize section_flag_list to NULL for each alternative. (sect_flag_list, sect_flags): New rules. (input_section_spec_no_keep): Add alternatives to recognize sect_flags. * ldlang.c (walk_wild_consider_section): Initialize section_flag_info field of the section struct. (lang_add_section): Check input section flags. (lang_add_wild): Initialize section_flag_list field of the statement struct. * ldlang.h (lang_input_statement_struct): Add section_flag_list field. (lang_wild_statement_struct): Likewise. * ldlex.l (INPUT_SECTION_FLAGS): New token. * mri.c (mri_draw_tree): Initialize section_flag_list to NULL. * NEWS: Announce INPUT_SECTION_FLAGS enhancement. ld/testsuite/ChangeLog 2011-07-11 Catherine Moore <clm@cm00re.com> * ld-scripts/section-flags-1.s: New. * ld-scripts/section-flags-1.t: New. * ld-scripts/section-flags-2.s: New. * ld-scripts/section-flags-2.t: New. * ld-scripts/section-flags.exp: New. |
||
---|---|---|
.. | ||
align.exp | ||
align.s | ||
align.t | ||
align2.t | ||
align2a.d | ||
align2a.s | ||
align2b.d | ||
align2b.s | ||
align2c.d | ||
align2c.s | ||
alignof.exp | ||
alignof.s | ||
alignof.t | ||
assert.exp | ||
assert.s | ||
assert.t | ||
assert2.d | ||
assert2.t | ||
cross1.c | ||
cross1.t | ||
cross2.c | ||
cross2.t | ||
cross3.c | ||
cross3.t | ||
cross4.c | ||
crossref.exp | ||
data.d | ||
data.exp | ||
data.s | ||
data.t | ||
default-script.exp | ||
default-script.s | ||
default-script.t | ||
default-script1.d | ||
default-script2.d | ||
default-script3.d | ||
default-script4.d | ||
defined.exp | ||
defined.s | ||
defined.t | ||
defined2.d | ||
defined2.t | ||
defined3.d | ||
defined3.t | ||
defined4.d | ||
defined4.s | ||
defined4.t | ||
defined5.d | ||
defined5.s | ||
defined5.t | ||
dynamic-sections-1.s | ||
dynamic-sections-2.s | ||
dynamic-sections.d | ||
dynamic-sections.exp | ||
dynamic-sections.t | ||
empty-address-1.d | ||
empty-address-1.s | ||
empty-address-1.t | ||
empty-address-2.s | ||
empty-address-2a.d | ||
empty-address-2a.t | ||
empty-address-2b.d | ||
empty-address-2b.t | ||
empty-address-3.s | ||
empty-address-3a.d | ||
empty-address-3a.t | ||
empty-address-3b.d | ||
empty-address-3b.t | ||
empty-address-3c.d | ||
empty-address-3c.t | ||
empty-address.exp | ||
empty-aligned.d | ||
empty-aligned.exp | ||
empty-aligned.s | ||
empty-aligned.t | ||
empty-orphan.d | ||
empty-orphan.exp | ||
empty-orphan.s | ||
empty-orphan.t | ||
expr.exp | ||
expr1.d | ||
expr1.s | ||
expr1.t | ||
expr2.d | ||
expr2.s | ||
expr2.t | ||
extern.exp | ||
extern.s | ||
extern.t | ||
include-1.d | ||
include-1.t | ||
include-data.t | ||
include-mem.t | ||
include-ram.t | ||
include-sections.t | ||
include-subdata.t | ||
include.exp | ||
include.s | ||
map-address.d | ||
map-address.exp | ||
map-address.t | ||
memory.t | ||
overlay-size-map.d | ||
overlay-size.d | ||
overlay-size.exp | ||
overlay-size.s | ||
overlay-size.t | ||
phdrs.exp | ||
phdrs.s | ||
phdrs.t | ||
phdrs2.exp | ||
phdrs2.s | ||
phdrs2.t | ||
phdrs3.d | ||
phdrs3.exp | ||
phdrs3.t | ||
phdrs3a.d | ||
phdrs3a.t | ||
provide-1.d | ||
provide-1.s | ||
provide-1.t | ||
provide-2.d | ||
provide-2.s | ||
provide-2.t | ||
provide-3.d | ||
provide-3.s | ||
provide-3.t | ||
provide.exp | ||
region-alias-1.t | ||
region-alias-2.t | ||
region-alias-3.t | ||
region-alias-4.t | ||
rgn-at.exp | ||
rgn-at.s | ||
rgn-at1.d | ||
rgn-at1.t | ||
rgn-at2.d | ||
rgn-at2.t | ||
rgn-at3.d | ||
rgn-at3.t | ||
rgn-at4.d | ||
rgn-at4.t | ||
rgn-at5.d | ||
rgn-at5.s | ||
rgn-at5.t | ||
rgn-over.exp | ||
rgn-over.s | ||
rgn-over1.d | ||
rgn-over1.t | ||
rgn-over2.d | ||
rgn-over2.t | ||
rgn-over3.d | ||
rgn-over3.t | ||
rgn-over4.d | ||
rgn-over4.t | ||
rgn-over5.d | ||
rgn-over5.t | ||
rgn-over6.d | ||
rgn-over6.t | ||
rgn-over7.d | ||
rgn-over7.t | ||
rgn-over8-ok.d | ||
rgn-over8.s | ||
rgn-over8.t | ||
sane1.d | ||
sane1.t | ||
script.exp | ||
script.s | ||
script.t | ||
scriptm.t | ||
section-flags-1.s | ||
section-flags-1.t | ||
section-flags-2.s | ||
section-flags-2.t | ||
section-flags.exp | ||
section-match-1.d | ||
section-match-1.s | ||
section-match-1.t | ||
section-match.exp | ||
size-1.d | ||
size-1.s | ||
size-1.t | ||
size-2.d | ||
size-2.s | ||
size-2.t | ||
size.exp | ||
sizeof.exp | ||
sizeof.s | ||
sizeof.t | ||
sort.exp | ||
sort.t | ||
sort_b_a-1.d | ||
sort_b_a-1.s | ||
sort_b_a.d | ||
sort_b_a.s | ||
sort_b_a.t | ||
sort_b_a_a-1.d | ||
sort_b_a_a-2.d | ||
sort_b_a_a-3.d | ||
sort_b_a_a.t | ||
sort_b_a_n-1.d | ||
sort_b_a_n-2.d | ||
sort_b_a_n-3.d | ||
sort_b_a_n.t | ||
sort_b_n-1.d | ||
sort_b_n-1.s | ||
sort_b_n.d | ||
sort_b_n.s | ||
sort_b_n.t | ||
sort_b_n_a-1.d | ||
sort_b_n_a-2.d | ||
sort_b_n_a-3.d | ||
sort_b_n_a.t | ||
sort_b_n_n-1.d | ||
sort_b_n_n-2.d | ||
sort_b_n_n-3.d | ||
sort_b_n_n.t | ||
sort_n_a-a.s | ||
sort_n_a-b.s | ||
sort_no-1.d | ||
sort_no-2.d | ||
sort_no.t | ||
weak.exp | ||
weak.t | ||
weak1.s | ||
weak2.s |