old-cross-binutils/ld/testsuite/ld-powerpc
Alan Modra 9df0ef5fe7 bfd/
* elf64-ppc.c (struct ppc_link_hash_table): Add plt_static_chain.
	(build_plt_stub): Add plt_static_chain param, don't load r11 if false.
	(build_tls_get_addr_stub): Likewise.
	(ppc_build_one_stub): Update calls to above.
	(ppc_size_one_stub): Adjust stub size.
	(ppc64_elf_size_stubs): Add plt_static_chain param, save to htab.
	* elf64-ppc.h (ppc64_elf_size_stubs): Update prototype.
ld/
	* emultempl/ppc64elf.em (plt_static_chain): New var.
	(gld${EMULATION_NAME}_after_allocation): Pass to ppc64_elf_size_stubs.
	(PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
	PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Handle
	--plt-static-chain and --no-plt-static-chain.
ld/testsuite/
	* ld-powerpc/tlsexe.d, * ld-powerpc/tlsexe.g. *ld-powerpc/tlsexe.r,
	* ld-powerpc/tlsexetoc.d, * ld-powerpc/tlsexetoc.g,
	* ld-powerpc/tlsexetoc.r, * ld-powerpc/tlsso.d,
	* ld-powerpc/tlstocso.d: Update for plt stub change.
2011-07-14 03:28:22 +00:00
..
aix-abs-branch-1.dd bfd/ 2009-03-14 09:16:01 +00:00
aix-abs-branch-1.ex bfd/ 2009-03-14 09:16:01 +00:00
aix-abs-branch-1.im bfd/ 2009-03-14 09:16:01 +00:00
aix-abs-branch-1.nd bfd/ 2009-03-14 09:32:56 +00:00
aix-abs-branch-1.s bfd/ 2009-03-14 09:16:01 +00:00
aix-abs-reloc-1.ex bfd/ 2009-03-14 09:15:34 +00:00
aix-abs-reloc-1.im bfd/ 2009-03-14 09:15:34 +00:00
aix-abs-reloc-1.nd bfd/ 2009-03-14 09:32:56 +00:00
aix-abs-reloc-1.od bfd/ 2009-03-14 09:15:34 +00:00
aix-abs-reloc-1.s bfd/ 2009-03-14 09:15:34 +00:00
aix-core-sec-1.ex ld/ 2009-03-14 09:14:30 +00:00
aix-core-sec-1.hd ld/ 2009-03-14 09:14:30 +00:00
aix-core-sec-1.s ld/ 2009-03-14 09:14:30 +00:00
aix-core-sec-2.ex ld/ 2009-03-14 09:14:30 +00:00
aix-core-sec-2.hd ld/ 2009-03-14 09:14:30 +00:00
aix-core-sec-2.s ld/ 2009-03-14 09:14:30 +00:00
aix-core-sec-3.ex ld/ 2009-03-14 09:14:30 +00:00
aix-core-sec-3.hd ld/ 2009-03-14 09:14:30 +00:00
aix-core-sec-3.s ld/ 2009-03-14 09:14:30 +00:00
aix-export-1-all.dd include/coff/ 2009-03-14 09:35:46 +00:00
aix-export-1-full.dd include/coff/ 2009-03-14 09:35:46 +00:00
aix-export-1a.s include/coff/ 2009-03-14 09:35:46 +00:00
aix-export-1b.s include/coff/ 2009-03-14 09:35:46 +00:00
aix-export-2.nd bfd/ 2009-04-16 23:07:00 +00:00
aix-export-2.s bfd/ 2009-04-16 23:07:00 +00:00
aix-gc-1-32.dd bfd/ 2009-03-14 09:35:06 +00:00
aix-gc-1-64.dd bfd/ 2009-03-14 09:35:06 +00:00
aix-gc-1.ex bfd/ 2009-03-14 09:35:06 +00:00
aix-gc-1.nd bfd/ 2009-04-01 20:09:03 +00:00
aix-gc-1.s bfd/ 2009-03-14 09:35:06 +00:00
aix-glink-1-32.d include/coff/ 2009-03-14 09:17:32 +00:00
aix-glink-1-32.dd include/coff/ 2009-03-14 09:17:32 +00:00
aix-glink-1-64.d include/coff/ 2009-03-14 09:17:32 +00:00
aix-glink-1-64.dd include/coff/ 2009-03-14 09:17:32 +00:00
aix-glink-1.ex include/coff/ 2009-03-14 09:17:32 +00:00
aix-glink-1.s include/coff/ 2009-03-14 09:17:32 +00:00
aix-glink-2-32.dd include/coff/ 2009-03-14 09:34:27 +00:00
aix-glink-2-64.dd include/coff/ 2009-03-14 09:34:27 +00:00
aix-glink-2a.ex include/coff/ 2009-03-14 09:34:27 +00:00
aix-glink-2a.s include/coff/ 2009-03-14 09:34:27 +00:00
aix-glink-2b.s include/coff/ 2009-03-14 09:34:27 +00:00
aix-glink-2c.ex include/coff/ 2009-03-14 09:34:27 +00:00
aix-glink-2c.s include/coff/ 2009-03-14 09:34:27 +00:00
aix-glink-2d.s include/coff/ 2009-03-14 09:34:27 +00:00
aix-glink-3-32.d bfd/ 2009-06-02 18:51:34 +00:00
aix-glink-3-64.d bfd/ 2009-06-02 18:51:34 +00:00
aix-glink-3.dd bfd/ 2009-06-02 18:51:34 +00:00
aix-glink-3.s bfd/ 2009-06-02 18:51:34 +00:00
aix-glink-3a.s bfd/ 2009-06-02 18:51:34 +00:00
aix-glink-3b.s bfd/ 2009-06-02 18:51:34 +00:00
aix-lineno-1.s bfd/ 2009-03-14 09:32:33 +00:00
aix-lineno-1.txt bfd/ 2009-03-14 09:32:33 +00:00
aix-lineno-1a.dd bfd/ 2009-03-14 09:32:33 +00:00
aix-lineno-1a.nd bfd/ 2009-03-14 09:32:33 +00:00
aix-lineno-1b.dd bfd/ 2009-03-14 09:32:33 +00:00
aix-lineno-1b.nd bfd/ 2009-03-14 09:32:33 +00:00
aix-no-dup-syms-1-dso.dnd include/coff/ 2009-03-14 09:33:39 +00:00
aix-no-dup-syms-1-dso.drd include/coff/ 2009-03-14 09:33:39 +00:00
aix-no-dup-syms-1-dso.nd include/coff/ 2009-03-14 09:33:39 +00:00
aix-no-dup-syms-1-dso.rd include/coff/ 2009-03-14 09:33:39 +00:00
aix-no-dup-syms-1-rel.nd include/coff/ 2009-03-14 09:33:39 +00:00
aix-no-dup-syms-1-rel.rd include/coff/ 2009-03-14 09:33:39 +00:00
aix-no-dup-syms-1.ex include/coff/ 2009-03-14 09:33:39 +00:00
aix-no-dup-syms-1.im include/coff/ 2009-03-14 09:33:39 +00:00
aix-no-dup-syms-1a.s include/coff/ 2009-03-14 09:33:39 +00:00
aix-no-dup-syms-1b.s include/coff/ 2009-03-14 09:33:39 +00:00
aix-ref-1-32.od bfd/ 2010-01-23 12:05:33 +00:00
aix-ref-1-64.od bfd/ 2010-01-23 12:05:33 +00:00
aix-ref-1.s bfd/ 2010-01-23 12:05:33 +00:00
aix-rel-1.od bfd/ 2009-04-01 19:27:38 +00:00
aix-rel-1.s bfd/ 2009-04-01 19:27:38 +00:00
aix-toc-1-32.dd bfd/ 2009-03-14 09:18:22 +00:00
aix-toc-1-64.dd bfd/ 2009-03-14 09:18:22 +00:00
aix-toc-1.ex bfd/ 2009-03-14 09:18:22 +00:00
aix-toc-1a.s bfd/ 2009-03-14 09:18:22 +00:00
aix-toc-1b.s bfd/ 2009-03-14 09:18:22 +00:00
aix-weak-1-dso.dnd include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-1-dso.hd include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-1-dso.nd include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-1-gcdso.dnd bfd/ 2009-03-14 09:35:06 +00:00
aix-weak-1-gcdso.hd bfd/ 2009-03-14 09:35:06 +00:00
aix-weak-1-gcdso.nd bfd/ 2009-03-14 09:35:06 +00:00
aix-weak-1-rel.hd include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-1-rel.nd include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-1.ex include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-1a.s include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-1b.s include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-2a.ex include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-2a.nd include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-2a.s include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-2b.nd include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-2b.s include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-2c.ex include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-2c.nd include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-2c.od include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-2c.s include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-3-32.d include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-3-32.dd include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-3-64.d include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-3-64.dd include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-3a.ex include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-3a.s include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-3b.ex include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-3b.s include/coff/ 2009-03-14 09:34:27 +00:00
aix52.exp bfd/ 2010-01-23 12:05:33 +00:00
apuinfo-nul.rd bfd/ 2010-04-01 10:02:28 +00:00
apuinfo-nul.s bfd/ 2010-02-08 07:09:39 +00:00
apuinfo-nul1.s bfd/ 2010-04-01 10:02:28 +00:00
apuinfo.rd bfd/ 2010-02-08 07:09:39 +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
attr-gnu-4-00.d bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-0.s bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-01.d bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-1.s bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-02.d bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-2.s bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-03.d Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
attr-gnu-4-3.s bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-4.s Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
attr-gnu-4-10.d bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-11.d bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-12.d bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-13.d Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
attr-gnu-4-14.d Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
attr-gnu-4-20.d bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-21.d bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-22.d bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-23.d Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
attr-gnu-4-24.d Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
attr-gnu-4-31.d Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
attr-gnu-4-32.d Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
attr-gnu-4-33.d Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
attr-gnu-4-34.d Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
attr-gnu-4-41.d Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
attr-gnu-8-1.s * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for 2007-10-25 15:20:24 +00:00
attr-gnu-8-2.s * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for 2007-10-25 15:20:24 +00:00
attr-gnu-8-3.s * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for 2007-10-25 15:20:24 +00:00
attr-gnu-8-11.d * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for 2007-10-25 15:20:24 +00:00
attr-gnu-8-23.d * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for 2007-10-25 15:20:24 +00:00
attr-gnu-8-31.d * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for 2007-10-25 15:20:24 +00:00
attr-gnu-12-1.s include/elf/ 2008-10-10 20:55:36 +00:00
attr-gnu-12-2.s include/elf/ 2008-10-10 20:55:36 +00:00
attr-gnu-12-11.d include/elf/ 2008-10-10 20:55:36 +00:00
attr-gnu-12-21.d include/elf/ 2008-10-10 20:55:36 +00:00
oldtlslib.s include/elf/ 2009-09-21 11:51:02 +00:00
plt1.d * ld-powerpc/plt1.s: New. 2006-10-24 13:29:37 +00:00
plt1.s * ld-powerpc/plt1.s: New. 2006-10-24 13:29:37 +00:00
powerpc.exp * ld-powerpc/tocopt2.s, * ld-powerpc/tocopt2.out, 2011-07-11 12:03:55 +00:00
relax.d bfd/ 2010-07-06 09:29:47 +00:00
relax.s bfd/ 2010-07-06 09:29:47 +00:00
relaxr.d bfd/ 2010-07-06 09:29:47 +00:00
relbrlt.d bfd/ 2008-03-01 06:52:52 +00:00
relbrlt.s bfd/ 2007-08-13 00:20:59 +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
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 bfd/ChangeLog: 2006-03-17 06:44:37 +00:00
tls32.t New tests. 2003-02-18 06:11:32 +00:00
tlsexe.d bfd/ 2011-07-14 03:28:22 +00:00
tlsexe.g bfd/ 2011-07-14 03:28:22 +00:00
tlsexe.r bfd/ 2011-07-14 03:28:22 +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 include/elf/ 2009-09-21 11:51:02 +00:00
tlsexe32.g include/elf/ 2009-09-21 11:51:02 +00:00
tlsexe32.r bfd/ 2009-09-24 15:56:52 +00:00
tlsexe32.t bfd/ 2005-03-16 02:41:28 +00:00
tlsexetoc.d bfd/ 2011-07-14 03:28:22 +00:00
tlsexetoc.g bfd/ 2011-07-14 03:28:22 +00:00
tlsexetoc.r bfd/ 2011-07-14 03:28:22 +00:00
tlsexetoc.t * ld-elfvsb/elfvsb.exp: Run for powerpc64 too. 2003-06-10 04:36:01 +00:00
tlslib.s include/elf/ 2009-09-21 11:51:02 +00:00
tlslib32.s include/elf/ 2009-09-21 11:51:02 +00:00
tlsmark.d bfd/ 2011-03-23 15:25:06 +00:00
tlsmark.s bfd/ 2011-03-23 15:25:06 +00:00
tlsmark32.d bfd/ 2011-03-23 15:25:06 +00:00
tlsmark32.s bfd/ 2011-03-23 15:25:06 +00:00
tlsopt1.d bfd/ 2011-03-23 15:25:06 +00:00
tlsopt1.s bfd/ 2011-03-23 15:25:06 +00:00
tlsopt1_32.d bfd/ 2011-03-23 15:25:06 +00:00
tlsopt1_32.s bfd/ 2011-03-23 15:25:06 +00:00
tlsopt2.d bfd/ 2011-03-23 15:25:06 +00:00
tlsopt2.s bfd/ 2011-03-23 15:25:06 +00:00
tlsopt2_32.d bfd/ 2011-03-23 15:25:06 +00:00
tlsopt2_32.s bfd/ 2011-03-23 15:25:06 +00:00
tlsopt3.d bfd/ 2011-03-23 15:25:06 +00:00
tlsopt3.s bfd/ 2011-03-23 15:25:06 +00:00
tlsopt3_32.d bfd/ 2011-03-23 15:25:06 +00:00
tlsopt3_32.s bfd/ 2011-03-23 15:25:06 +00:00
tlsopt4.d bfd/ 2011-03-23 15:25:06 +00:00
tlsopt4.s bfd/ 2011-03-23 15:25:06 +00:00
tlsopt4_32.d bfd/ 2011-03-23 15:25:06 +00:00
tlsopt4_32.s bfd/ 2011-03-23 15:25:06 +00:00
tlsso.d bfd/ 2011-07-14 03:28:22 +00:00
tlsso.g bfd/ 2007-08-13 00:20:59 +00:00
tlsso.r include/elf/ 2010-07-20 14:08:32 +00:00
tlsso.t * ld-elfvsb/elfvsb.exp: Run for powerpc64 too. 2003-06-10 04:36:01 +00:00
tlsso32.d bfd/ 2007-11-06 03:59:16 +00:00
tlsso32.g bfd/ 2006-10-17 13:41:49 +00:00
tlsso32.r bfd/ 2009-09-24 15:56:52 +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 bfd/ 2011-07-14 03:28:22 +00:00
tlstocso.g bfd/ 2007-08-13 00:20:59 +00:00
tlstocso.r include/elf/ 2010-07-20 14:08:32 +00:00
tlstocso.t * ld-elfvsb/elfvsb.exp: Run for powerpc64 too. 2003-06-10 04:36:01 +00:00
tocopt.d * ld-powerpc/tocopt.s, * ld-powerpc/tocopt.d: New test. 2010-08-05 14:38:10 +00:00
tocopt.s * ld-powerpc/tocopt.s, * ld-powerpc/tocopt.d: New test. 2010-08-05 14:38:10 +00:00
tocopt2.d * ld-powerpc/tocopt2.s, * ld-powerpc/tocopt2.out, 2011-07-11 12:03:55 +00:00
tocopt2.out * ld-powerpc/tocopt2.s, * ld-powerpc/tocopt2.out, 2011-07-11 12:03:55 +00:00
tocopt2.s * ld-powerpc/tocopt2.s, * ld-powerpc/tocopt2.out, 2011-07-11 12:03:55 +00:00
tocopt3.d * ld-powerpc/tocopt2.s, * ld-powerpc/tocopt2.out, 2011-07-11 12:03:55 +00:00
tocopt3.s * ld-powerpc/tocopt2.s, * ld-powerpc/tocopt2.out, 2011-07-11 12:03:55 +00:00
vxworks-relax-2.rd bfd/ 2009-05-27 13:31:24 +00:00
vxworks-relax-2.s * ld-powerpc/vxworks-relax.s: Add branches to match expected output. 2010-07-20 07:22:37 +00:00
vxworks-relax.rd * ld-powerpc/powerpc.exp: Add vxworks relax testcase. 2009-01-26 15:27:04 +00:00
vxworks-relax.s * ld-powerpc/vxworks-relax.s: Add branches to match expected output. 2010-07-20 07:22:37 +00:00
vxworks1-lib.dd bfd/ 2006-03-02 08:50:04 +00:00
vxworks1-lib.nd Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
vxworks1-lib.rd * ld-powerpc/vxworks-relax.s: Add branches to match expected output. 2010-07-20 07:22:37 +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-lib.td ld/testsuite/ 2007-05-15 12:22:34 +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-powerpc/powerpc.exp: Add vxworks relax testcase. 2009-01-26 15:27:04 +00:00
vxworks1.rd * ld-powerpc/powerpc.exp: Add vxworks relax testcase. 2009-01-26 15:27:04 +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