binutils-gdb/ld/testsuite/ld-powerpc
Alan Modra 7ba71655a4 PowerPC addpcis fix
This came up because I was looking at ld/tmpdir/addpcis.o and noticed
the odd addends on REL16DX_HA.  They ought to both be -4.  The error
crept in due REL16DX_HA howto being pc-relative (as indeed it should
be), and code at gas/write.c:1001 after this comment
	      /* Make it pc-relative.  If the back-end code has not
		 selected a pc-relative reloc, cancel the adjustment
		 we do later on all pc-relative relocs.  */
*not* cancelling the pc-relative adjustment.  So I've made a dummy
non-relative split reloc so that the generic code handles this, rather
than attempting to add hacks later in md_apply_fix which would not be
very robust.  Having the new internal reloc also makes it easy to
support

 addpcis rx,sym@ha

as an equivalent to

 addpcis rx,(sym-0f)@ha
0:

The patch also fixes overflow checking, which must test whether the
addi will overflow too since @l relocs don't have any overflow check.

Lastly, since I was poking at md_apply_fix, I arranged to have the
generic gas/write.c code emit errors for subtraction expressions where
we lack reloc support.

include/
	* elf/ppc64.h (R_PPC64_16DX_HA): New.  Expand fake reloc comment.
	* elf/ppc.h (R_PPC_16DX_HA): Likewise.
bfd/
	* reloc.c (BFD_RELOC_PPC_16DX_HA): New.
	* elf64-ppc.c (ppc64_elf_howto_raw <R_PPC64_16DX_HA>): New howto.
	(ppc64_elf_reloc_type_lookup): Translate new bfd reloc.
	(ppc64_elf_ha_reloc): Correct overflow test on REL16DX_HA.
	(ppc64_elf_relocate_section): Likewise.
	* elf32-ppc.c (ppc_elf_howto_raw <R_PPC_16DX_HA>): New howto.
	(ppc_elf_reloc_type_lookup): Translate new bfd reloc.
	(ppc_elf_check_relocs): Handle R_PPC_16DX_HA to pacify gcc.
	* libbfd.h: Regenerate.
	* bfd-in2.h: Regenerate.
gas/
	* config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
	(md_apply_fix): Remove fx_subsy check.  Move code converting to
	pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA.  Remove code
	emiiting errors on seeing fx_pcrel set on unexpected relocs, as
	that is done now by the generic code via..
	* config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
	(TC_VALIDATE_FIX_SUB): Define.
ld/
	* testsuite/ld-powerpc/addpcis.d: Define ext1 and ext2 at
	limits of addpcis range.
2017-02-28 11:59:47 +10:30
..
addpcis.d PowerPC addpcis fix 2017-02-28 11:59:47 +10:30
addpcis.s Add assembler, disassembler and linker support for power9. 2015-11-11 19:52:52 -06: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 XCOFF/AIX: Remove SEC_ALLOC flags for unmapped sections. 2013-05-10 13:08:24 +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 XCOFF/AIX: Remove SEC_ALLOC flags for unmapped sections. 2013-05-10 13:08:24 +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 XCOFF/AIX: Remove SEC_ALLOC flags for unmapped sections. 2013-05-10 13:08:24 +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 Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
ambiguousv1.d Reorder more powerpc64 sections for -z relro 2015-01-20 19:52:42 +10:30
ambiguousv1b.d Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
ambiguousv2.d Reorder more powerpc64 sections for -z relro 2015-01-20 19:52:42 +10:30
ambiguousv2b.d Reorder more powerpc64 sections for -z relro 2015-01-20 19:52:42 +10:30
apuinfo-nul.rd * ld-powerpc/powerpc.exp: Modify emulation option passed to ld 2012-10-29 09:25:53 +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-vle.rd Power/GAS: Don't set VLE annotation for non-VLE processors/instructions 2014-08-22 16:52:20 +01:00
apuinfo-vle.s Power/GAS: Don't set VLE annotation for non-VLE processors/instructions 2014-08-22 16:52:20 +01:00
apuinfo-vle2.s PowerPC VLE 2016-06-07 22:04:38 +09:30
apuinfo.rd Power/GAS: Don't set VLE annotation for non-VLE processors/instructions 2014-08-22 16:52:20 +01:00
apuinfo1.s PowerPC VLE 2016-06-07 22:04:38 +09:30
apuinfo2.s
attr-gnu-4-00.d
attr-gnu-4-0.s
attr-gnu-4-01.d PowerPC .gnu.attributes 2016-09-26 18:04:57 +09:30
attr-gnu-4-1.s
attr-gnu-4-02.d PowerPC .gnu.attributes 2016-09-26 18:04:57 +09:30
attr-gnu-4-2.s
attr-gnu-4-03.d PowerPC .gnu.attributes 2016-09-26 18:04:57 +09:30
attr-gnu-4-3.s
attr-gnu-4-10.d PowerPC .gnu.attributes 2016-09-26 18:04:57 +09:30
attr-gnu-4-11.d PowerPC .gnu.attributes 2016-09-26 18:04:57 +09:30
attr-gnu-4-12.d
attr-gnu-4-13.d Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
attr-gnu-4-20.d PowerPC .gnu.attributes 2016-09-26 18:04:57 +09:30
attr-gnu-4-21.d
attr-gnu-4-22.d PowerPC .gnu.attributes 2016-09-26 18:04:57 +09:30
attr-gnu-4-23.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 PowerPC .gnu.attributes 2016-09-26 18:04:57 +09:30
attr-gnu-4-33.d PowerPC .gnu.attributes 2016-09-26 18:04:57 +09:30
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 PowerPC .gnu.attributes 2016-09-26 18:04:57 +09:30
attr-gnu-8-23.d PowerPC .gnu.attributes 2016-09-26 18:04:57 +09:30
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
defsym.d Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
defsym.s Copy st_other for linker script symbol assignments 2014-07-08 19:42:03 +09:30
dotsym1.d PowerPC64 dot-symbol compatibility bugfixes 2016-12-03 21:00:01 +10:30
dotsym2.d PowerPC64 dot-symbol compatibility bugfixes 2016-12-03 21:00:01 +10:30
dotsym3.d PowerPC64 dot-symbol compatibility bugfixes 2016-12-03 21:00:01 +10:30
dotsym4.d PowerPC64 dot-symbol compatibility bugfixes 2016-12-03 21:00:01 +10:30
dotsymref.s PowerPC64 dot-symbol compatibility bugfixes 2016-12-03 21:00:01 +10:30
elfv2-2a.s Support R_PPC64_ADDR64_LOCAL 2014-03-05 19:57:39 +10:30
elfv2-2b.s Support R_PPC64_ADDR64_LOCAL 2014-03-05 19:57:39 +10:30
elfv2-2exe.d Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
elfv2-2so.d Support R_PPC64_ADDR64_LOCAL 2014-03-05 19:57:39 +10:30
elfv2.s Add PowerPC64 ELFv2 tests. 2013-10-30 13:44:10 +10:30
elfv2exe.d PR20337, Objdump makes poor choice of symbols 2016-07-09 16:53:33 +09:30
elfv2so.d Fallout from "Reorder more powerpc64 sections for -z relro" 2015-07-28 18:42:43 +09:30
export-class.exp Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
funref.s Referencing a function's address on PowerPC64 ELFv2 2014-03-27 00:49:38 +10:30
funref2.s Taking an undefined function's address in an executable 2014-07-02 18:16:14 +09:30
funv1.s Referencing a function's address on PowerPC64 ELFv2 2014-03-27 00:49:38 +10:30
funv2.s Referencing a function's address on PowerPC64 ELFv2 2014-03-27 00:49:38 +10:30
nodotsym.s PowerPC64 dot-symbol compatibility bugfixes 2016-12-03 21:00:01 +10:30
oldtlslib.s include/elf/ 2009-09-21 11:51:02 +00:00
plt1.d include/opcode/ 2012-11-23 03:28:13 +00:00
plt1.s
powerpc-32-export-class.rd * ld-elf/export-class.sd: New test. 2012-08-28 20:29:19 +00:00
powerpc-32-export-class.xd * ld-elf/export-class.sd: New test. 2012-08-28 20:29:19 +00:00
powerpc-64-export-class.rd * ld-elf/export-class.sd: New test. 2012-08-28 20:29:19 +00:00
powerpc-64-export-class.xd * ld-powerpc/export-class.exp (supports_ppc64): Delete. 2013-05-21 01:37:41 +00:00
powerpc.exp Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
ppc476-shared.d ppc476 linker workaround shared lib fixes again 2015-06-16 17:42:29 +09:30
ppc476-shared.lnk ppc476 linker workaround shared lib fixes 2015-06-05 20:12:11 +09:30
ppc476-shared.s ppc476 linker workaround shared lib fixes again 2015-06-16 17:42:29 +09:30
ppc476-shared2.d ppc476 linker workaround shared lib fixes again 2015-06-16 17:42:29 +09:30
relax.d * ld-powerpc/powerpc.exp: Modify emulation option passed to ld 2012-10-29 09:25:53 +00:00
relax.s bfd/ 2010-07-06 09:29:47 +00:00
relaxr.d * ld-powerpc/powerpc.exp: Modify emulation option passed to ld 2012-10-29 09:25:53 +00:00
relbrlt.d Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
relbrlt.s bfd/ 2007-08-13 00:20:59 +00:00
reloc.d
reloc.s
relocsort.d Add reloc sort test 2015-08-27 23:21:21 +09:30
relocsort.s Add reloc sort test 2015-08-27 23:21:21 +09:30
sdabase.d Use a symbol flag bit to mark linker defined symbols 2014-12-23 23:36:50 +10:30
sdabase.s Use a symbol flag bit to mark linker defined symbols 2014-12-23 23:36:50 +10:30
sdabase.t Use a symbol flag bit to mark linker defined symbols 2014-12-23 23:36:50 +10:30
sdabase2.d Use a symbol flag bit to mark linker defined symbols 2014-12-23 23:36:50 +10:30
sdabase2.t Use a symbol flag bit to mark linker defined symbols 2014-12-23 23:36:50 +10:30
sdadyn.d * ld-powerpc/powerpc.exp: Modify emulation option passed to ld 2012-10-29 09:25:53 +00:00
sdadyn.s
sdalib.s
startv1.s Referencing a function's address on PowerPC64 ELFv2 2014-03-27 00:49:38 +10:30
startv2.s Referencing a function's address on PowerPC64 ELFv2 2014-03-27 00:49:38 +10:30
symtocbase-1.s
symtocbase-2.s
symtocbase.d * ld-powerpc/powerpc.exp: Substitute for le in options_regsub(ld). 2013-08-22 07:34:28 +00:00
tls.d Change plt stubs to have destination in r12. 2013-10-30 13:35:47 +10:30
tls.g Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
tls.s Change plt stubs to have destination in r12. 2013-10-30 13:35:47 +10:30
tls.t * ld-powerpc/powerpc.exp: Substitute for le in options_regsub(ld). 2013-08-22 07:34:28 +00:00
tls32.d Fix ppc32 synthetic symbols when __tls_get_addr_opt stub is generated 2015-03-11 18:04:25 +10:30
tls32.g Fix ppc32 synthetic symbols when __tls_get_addr_opt stub is generated 2015-03-11 18:04:25 +10:30
tls32.s Fix ppc32 synthetic symbols when __tls_get_addr_opt stub is generated 2015-03-11 18:04:25 +10:30
tls32.t Fix ppc32 synthetic symbols when __tls_get_addr_opt stub is generated 2015-03-11 18:04:25 +10:30
tlsdll.s ld --gc-sections fail with __tls_get_addr_opt 2016-05-11 22:40:09 +09:30
tlsdll.ver ld --gc-sections fail with __tls_get_addr_opt 2016-05-11 22:40:09 +09:30
tlsdll_32.s ld --gc-sections fail with __tls_get_addr_opt 2016-05-11 22:40:09 +09:30
tlsexe.d PowerPC dynamic relocations 2017-01-24 12:15:54 +10:30
tlsexe.g PowerPC dynamic relocations 2017-01-24 12:15:54 +10:30
tlsexe.r PowerPC dynamic relocations 2017-01-24 12:15:54 +10:30
tlsexe.t * ld-powerpc/powerpc.exp: Modify emulation option passed to ld 2012-10-29 09:25:53 +00:00
tlsexe32.d Fix ppc32 synthetic symbols when __tls_get_addr_opt stub is generated 2015-03-11 18:04:25 +10:30
tlsexe32.g Fix ppc32 synthetic symbols when __tls_get_addr_opt stub is generated 2015-03-11 18:04:25 +10:30
tlsexe32.r Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets. 2016-08-19 09:16:30 +01:00
tlsexe32.t * ld-powerpc/powerpc.exp: Modify emulation option passed to ld 2012-10-29 09:25:53 +00:00
tlsexetoc.d Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
tlsexetoc.g Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
tlsexetoc.r Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets. 2016-08-19 09:16:30 +01:00
tlsexetoc.t * ld-powerpc/powerpc.exp: Modify emulation option passed to ld 2012-10-29 09:25:53 +00:00
tlsld.d Correct PowerPC64 local-dynamic TLS linker optimization 2015-01-29 13:13:02 +10:30
tlsld.s Correct PowerPC64 local-dynamic TLS linker optimization 2015-01-29 13:13:02 +10:30
tlsld32.d Correct PowerPC64 local-dynamic TLS linker optimization 2015-01-29 13:13:02 +10:30
tlsld32.s Correct PowerPC64 local-dynamic TLS linker optimization 2015-01-29 13:13:02 +10:30
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 * ld-powerpc/powerpc.exp: Modify emulation option passed to ld 2012-10-29 09:25:53 +00:00
tlsmark.s bfd/ 2011-03-23 15:25:06 +00:00
tlsmark32.d * ld-powerpc/powerpc.exp: Modify emulation option passed to ld 2012-10-29 09:25:53 +00:00
tlsmark32.s bfd/ 2011-03-23 15:25:06 +00:00
tlsopt1.d include/opcode/ 2012-11-23 03:28:13 +00:00
tlsopt1.s bfd/ 2011-03-23 15:25:06 +00:00
tlsopt1_32.d include/opcode/ 2012-11-23 03:28:13 +00:00
tlsopt1_32.s bfd/ 2011-03-23 15:25:06 +00:00
tlsopt2.d include/opcode/ 2012-11-23 03:28:13 +00:00
tlsopt2.s bfd/ 2011-03-23 15:25:06 +00:00
tlsopt2_32.d include/opcode/ 2012-11-23 03:28:13 +00:00
tlsopt2_32.s bfd/ 2011-03-23 15:25:06 +00:00
tlsopt3.d * ld-powerpc/powerpc.exp: Modify emulation option passed to ld 2012-10-29 09:25:53 +00:00
tlsopt3.s bfd/ 2011-03-23 15:25:06 +00:00
tlsopt3_32.d * ld-powerpc/powerpc.exp: Modify emulation option passed to ld 2012-10-29 09:25:53 +00:00
tlsopt3_32.s bfd/ 2011-03-23 15:25:06 +00:00
tlsopt4.d include/opcode/ 2012-11-23 03:28:13 +00:00
tlsopt4.s bfd/ 2011-03-23 15:25:06 +00:00
tlsopt4_32.d include/opcode/ 2012-11-23 03:28:13 +00:00
tlsopt4_32.s bfd/ 2011-03-23 15:25:06 +00:00
tlsopt5.d ld --gc-sections fail with __tls_get_addr_opt 2016-05-11 22:40:09 +09:30
tlsopt5.s ld --gc-sections fail with __tls_get_addr_opt 2016-05-11 22:40:09 +09:30
tlsopt5_32.d ld --gc-sections fail with __tls_get_addr_opt 2016-05-11 22:40:09 +09:30
tlsopt5_32.s ld --gc-sections fail with __tls_get_addr_opt 2016-05-11 22:40:09 +09:30
tlsso.d Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
tlsso.g Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
tlsso.r Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets. 2016-08-19 09:16:30 +01:00
tlsso.t * ld-powerpc/powerpc.exp: Modify emulation option passed to ld 2012-10-29 09:25:53 +00:00
tlsso32.d Fix ppc32 synthetic symbols when __tls_get_addr_opt stub is generated 2015-03-11 18:04:25 +10:30
tlsso32.g Fix ppc32 synthetic symbols when __tls_get_addr_opt stub is generated 2015-03-11 18:04:25 +10:30
tlsso32.r Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets. 2016-08-19 09:16:30 +01:00
tlsso32.t * ld-powerpc/powerpc.exp: Modify emulation option passed to ld 2012-10-29 09:25:53 +00:00
tlstoc.d Change plt stubs to have destination in r12. 2013-10-30 13:35:47 +10:30
tlstoc.g Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
tlstoc.s Change plt stubs to have destination in r12. 2013-10-30 13:35:47 +10:30
tlstoc.t * ld-powerpc/powerpc.exp: Substitute for le in options_regsub(ld). 2013-08-22 07:34:28 +00:00
tlstocso.d Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
tlstocso.g Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
tlstocso.r Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets. 2016-08-19 09:16:30 +01:00
tlstocso.t * ld-powerpc/powerpc.exp: Substitute for le in options_regsub(ld). 2013-08-22 07:34:28 +00:00
tocnovar.d Non-alloc sections don't belong in PT_LOAD segments 2015-04-25 09:15:49 +09:30
tocnovar.s PowerPC64 changes for xlc 2015-01-28 18:30:54 +10:30
tocopt.d Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
tocopt.out LD: vfinfo: Make clever formatters consistent WRT function name reporting 2017-02-15 13:41:51 +00:00
tocopt.s * ld-powerpc/tocopt.s, * ld-powerpc/tocopt.d: New test. 2010-08-05 14:38:10 +00:00
tocopt2.d Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
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 Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
tocopt3.s * ld-powerpc/tocopt2.s, * ld-powerpc/tocopt2.out, 2011-07-11 12:03:55 +00:00
tocopt4.d Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
tocopt4a.s * ld-powerpc/tocopt4a.s, * ld-powerpc/tocopt4b.s, 2011-08-22 14:28:54 +00:00
tocopt4b.s * ld-powerpc/tocopt4a.s, * ld-powerpc/tocopt4b.s, 2011-08-22 14:28:54 +00:00
tocopt5.d Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
tocopt5.s PR ld/13235 2011-09-30 05:11:04 +00:00
tocopt6-inc.s Fix an opd->append index in elf64-ppc.c 2015-07-05 19:57:07 +01:00
tocopt6.d Fix an opd->append index in elf64-ppc.c 2015-07-05 19:57:07 +01:00
tocopt6a.s Fix an opd->append index in elf64-ppc.c 2015-07-05 19:57:07 +01:00
tocopt6b.s Fix an opd->append index in elf64-ppc.c 2015-07-05 19:57:07 +01:00
tocopt6c.s Fix an opd->append index in elf64-ppc.c 2015-07-05 19:57:07 +01:00
tocopt7.d PowerPC64 toc optimisation for power9 2016-12-06 18:25:14 +10:30
tocopt7.out LD: vfinfo: Make clever formatters consistent WRT function name reporting 2017-02-15 13:41:51 +00:00
tocopt7.s PowerPC64 toc optimisation for power9 2016-12-06 18:25:14 +10:30
tocopt8.d PowerPC64 toc optimisation for power9 2016-12-06 18:25:14 +10:30
tocopt8.s PowerPC64 toc optimisation for power9 2016-12-06 18:25:14 +10:30
tocvar.d PowerPC64 changes for xlc 2015-01-28 18:30:54 +10:30
tocvar.s PowerPC64 changes for xlc 2015-01-28 18:30:54 +10:30
vle-multiseg-1.d Adjust VLE testsuite 2016-08-31 14:05:44 +09:30
vle-multiseg-1.ld Make assignments to dot keep an empty output section. 2014-01-22 11:58:29 +10:30
vle-multiseg-2.d Adjust VLE testsuite 2016-08-31 14:05:44 +09:30
vle-multiseg-2.ld Make assignments to dot keep an empty output section. 2014-01-22 11:58:29 +10:30
vle-multiseg-3.d Adjust VLE testsuite 2016-08-31 14:05:44 +09:30
vle-multiseg-3.ld Make assignments to dot keep an empty output section. 2014-01-22 11:58:29 +10:30
vle-multiseg-4.d Add support for PowerPC VLE. 2012-05-14 19:45:30 +00:00
vle-multiseg-4.ld Make assignments to dot keep an empty output section. 2014-01-22 11:58:29 +10:30
vle-multiseg-5.d Update linker tests after partial reversion of PR 20815 patch. 2016-11-28 17:51:57 +00:00
vle-multiseg-5.ld Add support for PowerPC VLE. 2012-05-14 19:45:30 +00:00
vle-multiseg-6.d Adjust VLE testsuite 2016-08-31 14:05:44 +09:30
vle-multiseg-6.ld Make assignments to dot keep an empty output section. 2014-01-22 11:58:29 +10:30
vle-multiseg-6a.s Add support for PowerPC VLE. 2012-05-14 19:45:30 +00:00
vle-multiseg-6b.s Add support for PowerPC VLE. 2012-05-14 19:45:30 +00:00
vle-multiseg-6c.s Add support for PowerPC VLE. 2012-05-14 19:45:30 +00:00
vle-multiseg-6d.s Add support for PowerPC VLE. 2012-05-14 19:45:30 +00:00
vle-multiseg.s Add support for PowerPC VLE. 2012-05-14 19:45:30 +00:00
vle-reloc-1.d Add support for PowerPC VLE. 2012-05-14 19:45:30 +00:00
vle-reloc-1.s Add support for PowerPC VLE. 2012-05-14 19:45:30 +00:00
vle-reloc-2.d Correct VLE 16D and SDAREL relocations 2017-02-23 12:33:51 +10:30
vle-reloc-2.s Correct VLE 16D and SDAREL relocations 2017-02-23 12:33:51 +10:30
vle-reloc-3.d Correct ld-powerpc/vle-reloc-2 test 2014-03-15 00:12:56 +10:30
vle-reloc-3.s Add support for PowerPC VLE. 2012-05-14 19:45:30 +00:00
vle-reloc-def-1.s Add support for PowerPC VLE. 2012-05-14 19:45:30 +00:00
vle-reloc-def-2.s Add support for PowerPC VLE. 2012-05-14 19:45:30 +00:00
vle-reloc-def-3.s Add support for PowerPC VLE. 2012-05-14 19:45:30 +00:00
vle.ld Fix overflow handling of VLE_SDA21 2014-03-14 15:01:53 +10:30
vxworks-relax-2.rd Sort relocs output by ld -r 2014-12-04 17:37:58 +10:30
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 Sort relocs output by ld -r 2014-12-04 17:37:58 +10:30
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 Fix more powerpc testsuite source errors 2017-02-16 22:39:51 +10:30
vxworks1-lib.nd Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
vxworks1-lib.rd Adjust testcases for readelf addend change 2012-05-12 13:46:26 +00:00
vxworks1-lib.s Fix more powerpc testsuite source errors 2017-02-16 22:39:51 +10:30
vxworks1-lib.sd
vxworks1-lib.td
vxworks1-static.d
vxworks1.dd
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
vxworks2-static.sd
vxworks2.s
vxworks2.sd Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries. 2016-11-23 11:10:39 +00:00