old-cross-binutils/ld/testsuite/ld-powerpc
Alan Modra 3b36f7e629 bfd/
* elf-bfd.h (struct elf_backend_data): Remove got_symbol_offset.
	* elfxx-target.h (elf_backend_got_symbol_offset): Delete.
	* elflink.c (_bfd_elf_create_got_section): Use zero in place of
	got_symbol_offset.
	* elf-m10300.c (_bfd_mn10300_elf_create_got_section): Likewise.
	* elf32-frv.c (_frv_create_got_section): Likewise.
	* elf32-i370.c (i370_elf_finish_dynamic_sections): Delete ppc code.
	(elf_backend_got_symbol_offset): Don't define.
	* elf64-ppc.c (elf_backend_got_symbol_offset): Don't define.
	* elf32-ppc.c (struct ppc_elf_link_hash_table): Add got_header_size
	and got_gap.
	(ppc_elf_create_got): Tidy.
	(ppc_elf_create_dynamic_sections): Don't set SEC_IN_MEMORY for .plt.
	(ppc_elf_check_relocs): Reduce string comparisons by using elf.hgot.
	(ppc_elf_gc_sweep_hook): Likewise.
	(ppc_elf_relocate_section): Likewise.
	(ppc_elf_finish_dynamic_symbol): Likewise.
	(allocate_got): New function.
	(allocate_dynrelocs): Use allocate_got.
	(ppc_elf_size_dynamic_sections): Likewise.  Delay tlsld_got allocation
	so that local got can refcount it.  Set got_header_size.
	(ppc_elf_relocate_section): Use value of elf.hgot rather than hard-
	coded 4.
	(ppc_elf_finish_dynamic_sections): Likewise.
	(elf_backend_got_symbol_offset): Don't define.
	(elf_backend_got_header_size): Ditto.
ld/testsuite/
	* ld-powerpc/tlsexe32.d: Update for changed got layout.
	* ld-powerpc/tlsexe32.g: Likewise.
	* ld-powerpc/tlsexe32.r: Likewise.
	* ld-powerpc/tlsso32.d: Likewise.
	* ld-powerpc/tlsso32.g: Likewise.
	* ld-powerpc/tlsso32.r: Likewise.
2005-05-07 02:55:55 +00:00
..
apuinfo.rd bfd/ 2005-03-16 21:52:48 +00:00
apuinfo1.s Fix the merging of .PPC.EMB.apuinfo sections. Add a test to make sure that 2002-12-03 18:24:33 +00:00
apuinfo2.s Fix the merging of .PPC.EMB.apuinfo sections. Add a test to make sure that 2002-12-03 18:24:33 +00:00
powerpc.exp bfd/ 2005-03-16 21:52:48 +00:00
reloc.d bfd/ 2005-04-19 05:44:55 +00:00
reloc.s
tls.d opcodes/ 2004-03-16 00:58:43 +00:00
tls.g new ppc64 tls tests 2003-02-04 14:52:11 +00:00
tls.s 2004-10-01 H.J. Lu <hongjiu.lu@intel.com> 2004-10-01 20:11:40 +00:00
tls.t * ld-elfvsb/elfvsb.exp: Run for powerpc64 too. 2003-06-10 04:36:01 +00:00
tls32.d opcodes/ 2004-03-16 00:58:43 +00:00
tls32.g New tests. 2003-02-18 06:11:32 +00:00
tls32.s 2004-10-01 H.J. Lu <hongjiu.lu@intel.com> 2004-10-01 20:11:40 +00:00
tls32.t New tests. 2003-02-18 06:11:32 +00:00
tlsexe.d opcodes/ 2004-03-16 00:58:43 +00:00
tlsexe.g * ld-powerpc/tlsexe.g: Update. 2005-03-05 11:56:48 +00:00
tlsexe.r ld/ 2005-03-21 09:39:54 +00:00
tlsexe.t * ld-powerpc/tlsexe.d: Update for changed handling of invalid LD 2003-02-18 12:54:56 +00:00
tlsexe32.d bfd/ 2005-05-07 02:55:55 +00:00
tlsexe32.g bfd/ 2005-05-07 02:55:55 +00:00
tlsexe32.r bfd/ 2005-05-07 02:55:55 +00:00
tlsexe32.t bfd/ 2005-03-16 02:41:28 +00:00
tlsexetoc.d opcodes/ 2004-03-16 00:58:43 +00:00
tlsexetoc.g * ld-powerpc/tlsexe.g: Update. 2005-03-05 11:56:48 +00:00
tlsexetoc.r ld/ 2005-03-21 09:39:54 +00:00
tlsexetoc.t * ld-elfvsb/elfvsb.exp: Run for powerpc64 too. 2003-06-10 04:36:01 +00:00
tlslib.s * ld-powerpc/tlslib.s: Give .__tls_get_addr function type. 2003-02-09 04:37:04 +00:00
tlslib32.s New tests. 2003-02-18 06:11:32 +00:00
tlsso.d opcodes/ 2004-03-16 00:58:43 +00:00
tlsso.g bfd/ 2004-05-11 17:08:38 +00:00
tlsso.r ld/ 2005-03-21 09:39:54 +00:00
tlsso.t * ld-elfvsb/elfvsb.exp: Run for powerpc64 too. 2003-06-10 04:36:01 +00:00
tlsso32.d bfd/ 2005-05-07 02:55:55 +00:00
tlsso32.g bfd/ 2005-05-07 02:55:55 +00:00
tlsso32.r bfd/ 2005-05-07 02:55:55 +00:00
tlsso32.t bfd/ 2005-03-16 02:41:28 +00:00
tlstoc.d opcodes/ 2004-03-16 00:58:43 +00:00
tlstoc.g * ld-powerpc/powerpc.exp: Dump output .got section rather than .toc. 2003-07-10 00:38:42 +00:00
tlstoc.s 2004-10-01 H.J. Lu <hongjiu.lu@intel.com> 2004-10-01 20:11:40 +00:00
tlstoc.t new ppc64 tls tests 2003-02-04 14:52:11 +00:00
tlstocso.d opcodes/ 2004-03-16 00:58:43 +00:00
tlstocso.g bfd/ 2004-05-11 17:08:38 +00:00
tlstocso.r ld/ 2005-03-21 09:39:54 +00:00
tlstocso.t * ld-elfvsb/elfvsb.exp: Run for powerpc64 too. 2003-06-10 04:36:01 +00:00