binutils-gdb/ld/testsuite/ld-powerpc
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
..
apuinfo1.s
apuinfo2.s
apuinfo.rd bfd/ 2005-03-16 21:52:48 +00:00
powerpc.exp ld/ 2006-03-03 09:32:01 +00:00
reloc.d bfd/ 2005-04-19 05:44:55 +00:00
reloc.s
sdadyn.d bfd/ 2005-05-20 21:57:12 +00:00
sdadyn.s bfd/ 2005-05-20 21:57:12 +00:00
sdalib.s * ld-powerpc/sdalib.s (lib_var): Size it. 2005-07-12 12:08:11 +00:00
symtocbase-1.s * symtocbase-1.s, symtocbase-2.s, symtocbase.d: New test. 2005-09-28 19:32:19 +00:00
symtocbase-2.s * symtocbase-1.s, symtocbase-2.s, symtocbase.d: New test. 2005-09-28 19:32:19 +00:00
symtocbase.d * ld-powerpc/symtocbase.d: Adjust for alignment change. 2005-11-18 04:41:30 +00:00
tls32.d
tls32.g
tls32.s bfd/ChangeLog: 2006-03-17 06:44:37 +00:00
tls32.t
tls.d
tls.g
tls.s
tls.t
tlsexe32.d Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00
tlsexe32.g Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00
tlsexe32.r bfd/ 2006-06-02 00:32:00 +00:00
tlsexe32.t bfd/ 2005-03-16 02:41:28 +00:00
tlsexe.d bfd/ 2006-08-17 08:21:06 +00:00
tlsexe.g Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00
tlsexe.r bfd/ 2006-08-17 08:21:06 +00:00
tlsexe.t
tlsexetoc.d bfd/ 2006-08-17 08:21:06 +00:00
tlsexetoc.g * ld-powerpc/tlsexetoc.r: Update for correction to tls optimization. 2006-05-05 13:08:49 +00:00
tlsexetoc.r bfd/ 2006-08-17 08:21:06 +00:00
tlsexetoc.t
tlslib32.s
tlslib.s
tlsso32.d bfd/ 2006-10-17 13:41:49 +00:00
tlsso32.g bfd/ 2006-10-17 13:41:49 +00:00
tlsso32.r bfd/ 2006-10-17 13:41:49 +00:00
tlsso32.t bfd/ 2005-03-16 02:41:28 +00:00
tlsso.d bfd/ 2006-08-17 08:21:06 +00:00
tlsso.g bfd/ 2006-10-17 13:41:49 +00:00
tlsso.r bfd/ 2006-10-17 13:41:49 +00:00
tlsso.t
tlstoc.d
tlstoc.g
tlstoc.s
tlstoc.t
tlstocso.d bfd/ 2006-08-17 08:21:06 +00:00
tlstocso.g bfd/ 2006-10-17 13:41:49 +00:00
tlstocso.r bfd/ 2006-10-17 13:41:49 +00:00
tlstocso.t
vxworks1-lib.dd bfd/ 2006-03-02 08:50:04 +00:00
vxworks1-lib.nd ld/testsuite/ 2006-03-02 15:16:27 +00:00
vxworks1-lib.rd ld/testsuite/ 2006-03-02 15:16:27 +00:00
vxworks1-lib.s bfd/ 2006-03-02 09:44:23 +00:00
vxworks1-lib.sd bfd/ 2006-03-02 08:50:04 +00:00
vxworks1-static.d ld/ 2006-03-03 09:32:01 +00:00
vxworks1.dd ld/testsuite/ 2006-03-02 15:16:27 +00:00
vxworks1.ld ld/testsuite/ 2006-03-02 15:16:27 +00:00
vxworks1.rd ld/testsuite/ 2006-03-02 15:16:27 +00:00
vxworks1.s bfd/ 2006-03-02 08:50:04 +00:00
vxworks2-static.sd ld/ 2006-03-03 09:32:01 +00:00
vxworks2.s ld/ 2006-03-03 09:32:01 +00:00
vxworks2.sd ld/ 2006-03-03 09:32:01 +00:00