old-cross-binutils/ld/testsuite
Catherine Moore ae17ab41b7 include/ChangeLog
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.
2011-07-11 15:03:09 +00:00
..
config * config/default.exp (ld_assemble): Pass flags parameter to 2011-05-12 10:00:06 +00:00
ld-alpha * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Do not 2011-04-12 23:23:02 +00:00
ld-arm gas/ 2011-06-02 15:32:10 +00:00
ld-auto-import
ld-bootstrap
ld-cdtest
ld-checks
ld-cris * ld-cris/tls-e-tpoffcomm1.d: Adjust for second PR12763 change, 2011-05-24 00:06:17 +00:00
ld-crx
ld-cygwin
ld-d10v
ld-discard
ld-elf * ld-elf/elf.exp: Exlcude all v850 targets from note-3 test. 2011-06-27 15:02:56 +00:00
ld-elfcomm
ld-elfvers * ld-elfvers/vers2.ver: Don't assume any particular index for 2011-06-16 00:42:06 +00:00
ld-elfvsb Fix misc x32 bugs. 2011-06-19 21:22:16 +00:00
ld-elfweak
ld-fastcall
ld-frv
ld-gc * ld-elf/elf.exp: Force 32-bit start address for alpha. 2011-03-30 17:41:36 +00:00
ld-h8300
ld-i386 Add testcases for PR ld/12921. 2011-06-24 14:03:15 +00:00
ld-ia64
ld-ifunc ELFOSABI_GNU 2011-07-03 13:37:09 +00:00
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k * ld-m68k/tls-gd-ie-1.d: Stabilize test. 2011-04-15 09:58:23 +00:00
ld-mep
ld-mips-elf bfd/ 2011-05-15 18:52:01 +00:00
ld-misc
ld-mmix
ld-mn10300 PR gas/12519 2011-02-25 13:45:54 +00:00
ld-pe * dw2gencfi.c (dwcfi_seg_list): New struct. 2011-04-26 15:28:08 +00:00
ld-pie
ld-plugin bfd/ChangeLog: 2011-05-07 14:29:10 +00:00
ld-powerpc * ld-powerpc/tocopt2.s, * ld-powerpc/tocopt2.out, 2011-07-11 12:03:55 +00:00
ld-s390
ld-scripts include/ChangeLog 2011-07-11 15:03:09 +00:00
ld-selective * ld-elf/flags1.d: Don't xfail tic6x. 2011-05-13 04:19:18 +00:00
ld-sh PR gas/12519 2011-02-25 13:45:54 +00:00
ld-shared Fix misc x32 bugs. 2011-06-19 21:22:16 +00:00
ld-sparc
ld-spu
ld-srec * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. 2011-06-13 15:18:54 +00:00
ld-tic6x ld/testsuite/ 2011-05-20 10:10:00 +00:00
ld-tilegx * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. 2011-06-13 15:18:54 +00:00
ld-tilepro * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. 2011-06-13 15:18:54 +00:00
ld-undefined * ld-elf/flags1.d: Don't xfail tic6x. 2011-05-13 04:19:18 +00:00
ld-unique ELFOSABI_GNU 2011-07-03 13:37:09 +00:00
ld-v850
ld-versados
ld-vxworks
ld-x86-64 Add testcases for PR ld/12921. 2011-06-24 14:03:15 +00:00
ld-xc16x
ld-xstormy16
ld-xtensa
lib * elflink.c (_bfd_elf_link_create_dynamic_sections): If the 2011-06-10 14:04:25 +00:00
ChangeLog include/ChangeLog 2011-07-11 15:03:09 +00:00
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-9303