binutils-gdb/ld/testsuite
Alan Modra 74541ad4c0 bfd/
* elf-bfd.h (struct elf_link_hash_table): Reorder.  Add
	text_index_section and data_index_section.
	(struct elf_backend_data): Add elf_backend_init_index_section.
	(_bfd_elf_init_1_index_section): Declare.
	(_bfd_elf_init_2_index_sections): Declare.
	* elfxx-target.h (elf_backend_init_index_section): Define.
	(elfNN_bed): Init new field.
	* elflink.c (_bfd_elf_link_omit_section_dynsym): Keep first tls
	section and text_index_section plus data_index_section.
	(_bfd_elf_link_renumber_dynsyms): Clear dynindx on omitted sections.
	(_bfd_elf_init_1_index_section): New function.
	(_bfd_elf_init_2_index_sections): New function.
	(bfd_elf_size_dynsym_hash_dynstr): Call elf_backend_init_index_section.
	(elf_link_input_bfd): When emitting relocs, use text_index_section
	and data_index_section for removed sections.
	* elf-m10300.c (elf_backend_omit_section_dynsym): Define.
	* elf32-i386.c: Likewise.
	* elf32-m32r.c: Likewise.
	* elf32-sh.c: Likewise.
	* elf32-xstormy16.c: Likewise.
	* elf32-xtensa.c: Likewise.
	* elf64-alpha.c: Likewise.
	* elf64-hppa.c: Likewise.
	* elf64-mmix.c: Likewise.
	* elf64-sh64.c: Likewise.
	* elfxx-ia64.c: Likewise.
	* elf32-arm.c (elf32_arm_final_link_relocate): Use text_index_section
	and data_index_section sym for relocs against sections with no dynamic
	section sym.
	(elf_backend_init_index_section): Define.
	* elf32-cris.c: Similarly.
	* elf32-hppa.c: Similarly.
	* elf32-i370.c: Similarly.
	* elf32-m68k.c: Similarly.
	* elf32-mips.c: Similarly.
	* elf32-ppc.c: Similarly.
	* elf32-s390.c: Similarly.
	* elf32-sparc.c: Similarly.
	* elf32-vax.c: Similarly.
	* elf64-mips.c: Similarly.
	* elf64-ppc.c: Similarly.
	* elf64-s390.c: Similarly.
	* elf64-sparc.c: Similarly.
	* elf64-x86-64.c: Similarly.
	* elfn32-mips.c: Similarly.
	* elfxx-mips.c: Similarly.
	* elfxx-sparc.c: Similarly.
	* linker.c (fix_syms): Base symbols in removed sections on
	previous section in preference to using absolute section.

ld/
	* ldlang.c (strip_excluded_output_sections): Do strip sections
	that define syms, but don't ignore them.
	* ld.texinfo (Output Section Discarding): Revise.
	* emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
	finish_default.

ld/testsuite/
	Update for section sym changes.
2006-10-17 13:41:49 +00:00
..
config
ld-alpha bfd/ 2006-06-02 00:32:00 +00:00
ld-arm bfd/ 2006-10-17 13:41:49 +00:00
ld-auto-import
ld-bootstrap Add x86_64-mingw64 target 2006-09-20 11:35:11 +00:00
ld-cdtest 2006-05-02 H.J. Lu <hongjiu.lu@intel.com> 2006-05-02 13:35:45 +00:00
ld-checks
ld-cris bfd/ 2006-10-17 13:41:49 +00:00
ld-crx
ld-cygwin
ld-d10v
ld-discard
ld-elf bfd/ 2006-10-17 13:41:49 +00:00
ld-elfcomm * ld-elfcomm/elfcomm.exp: Enable the alignment test for 2006-09-18 14:41:10 +00:00
ld-elfvers * ld-elfvers/vers.exp (objdump_versionstuff): Allow versions in 2006-06-06 04:30:21 +00:00
ld-elfvsb
ld-elfweak * ld-elfweak/size2.d, ld-elfweak/size2a.s, ld-elfweak/size2b.s: 2006-05-17 11:30:24 +00:00
ld-fastcall * ld-fastcall/fastcall.exp: Add x86_64-pc-mingw64 as valid target. 2006-10-02 16:53:04 +00:00
ld-frv
ld-h8300
ld-i386 bfd/ 2006-10-17 13:41:49 +00:00
ld-ia64 bfd/ 2006-10-17 13:41:49 +00:00
ld-linkonce
ld-m68hc11
ld-m68k * ld-m68k/plt1-68020.d: Fix patterns to match also for 64-bit 2006-09-21 09:41:34 +00:00
ld-maxq
ld-mips-elf bfd/ 2006-10-17 13:41:49 +00:00
ld-mmix bfd/ 2006-10-17 13:41:49 +00:00
ld-pe * ld-fastcall/fastcall.exp: Add x86_64-pc-mingw64 as valid target. 2006-10-02 16:53:04 +00:00
ld-pie 2006-02-23 H.J. Lu <hongjiu.lu@intel.com> 2006-02-23 22:23:26 +00:00
ld-powerpc bfd/ 2006-10-17 13:41:49 +00:00
ld-s390 bfd/ 2006-10-17 13:41:49 +00:00
ld-scripts bfd/ 2006-10-17 13:41:49 +00:00
ld-selective * ld-selective/selective.exp: Fix selective testcases for MIPS. 2006-07-19 11:49:32 +00:00
ld-sh bfd/ 2006-10-17 13:41:49 +00:00
ld-shared
ld-sparc bfd/ 2006-10-17 13:41:49 +00:00
ld-srec Add support for Score target. 2006-09-16 23:51:50 +00:00
ld-undefined
ld-v850
ld-versados
ld-x86-64 bfd/ 2006-10-17 13:41:49 +00:00
ld-xc16x Add support for the Infineon XC16X. 2006-02-17 14:36:28 +00:00
ld-xstormy16
ld-xtensa
lib * ld-fastcall/fastcall.exp: Add x86_64-pc-mingw64 as valid target. 2006-10-02 16:53:04 +00:00
ChangeLog bfd/ 2006-10-17 13:41:49 +00:00
ChangeLog-2004 split changelogs 2006-01-16 23:15:07 +00:00
ChangeLog-2005 split changelogs 2006-01-16 23:15:07 +00:00
ChangeLog-9303