8sa1-binutils-gdb/ld/testsuite/ld-powerpc
Clément Chigot 1b2cb8e2ee aix: implement TLS relocation for gas and ld
Add support for TLS in XCOFF. Amongst the things done by this commit:
 - Update XCOFF auxialiary header to match new version and allow TLS
   sections.
 - Add TLS sections (.tdata and .tbss) support in gas and ld.
 - Add support for the TLS relocations in gas and ld.
   Two different types BFD_RELOC are created for PPC and PPC64 as
   the size is a pointer, thus distinct in 32 or 64bit.

The addresses given by ld to .tdata and .tbss is a bit special. In
XCOFF, these addresses are actually offsets from the TLS pointer
computed at runtime. AIX assembly and linker does the same. In
top of that, the .tdata must be before .data (this is mandatory for AIX
loader). Thus, the aix ld script is recomputing "." before .data to restore
its original value. There might be a simpler way, but this one is working.

Optimisation linked to TLS relocations aren't yet implemented.

bfd/
	* reloc.c (BFD_RELOC_PPC_TLS_LE, BFD_RELOC_PPC_TLS_IE,
	BFD_RELOC_PPC_TLS_M, BFD_RELOC_PPC_TLS_ML, BFD_RELOC_PPC64_TLS_GD,
	BFD_RELOC_PPC64_TLS_LD, BFD_RELOC_PPC64_TLS_LE,
	BFD_RELOC_PPC64_TLS_IE, BFD_RELOC_PPC64_TLS_M,
	BFD_RELOC_PPC64_TLS_ML): New relocations.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.
	* coff-rs6000.c (xcoff_calculate_relocation): Call
	xcoff_reloc_type_tls for TLS relocations.
	(xcoff_howto_table): Implement TLS relocations.
	(_bfd_xcoff_reloc_type_lookup): Add cases TLS relocations.
	(xcoff_reloc_type_tls): New function.
	* coff64-rs6000.c (xcoff_calculate_relocation): Likewise.
	(xcoff_howto_table): Likewise.
	(_bfd_xcoff_reloc_type_lookup): Likewise.
	* coffcode.h (sec_to_styp_flags): Handle TLS sections.
	(styp_to_sec_flags): Likewise.
	(coff_compute_section_file_positions): Avoid file offset
	optimisation for .data when the previous section is .tdata.
	(coff_write_object_contents): Handle TLS sections.
	* coffswap.h (coff_swap_aouthdr_out): Add support for
	new fields in aouthdr.
	* libxcoff.h (xcoff_reloc_type_tls): Add prototype.
	* xcofflink.c (xcoff_link_add_symbols): Handle XMC_UL.
	(xcoff_need_ldrel_p): Add cases for TLS relocations.
	(xcoff_create_ldrel): Add l_symndx for TLS sections.
gas/
	* config/tc-ppc.c (ppc_xcoff_text_section, ppc_xcoff_data_section,
	(ppc_xcoff_bss_section, ppc_xcoff_tdata_section,
	(ppc_xcoff_tbss_section): New variables.
	(ppc_text_subsegment, ppc_text_csects, ppc_data_subgments,
	(ppc_data_csects): Removed.
	(ppc_xcoff_section_is_initialized, ppc_init_xcoff_section,
	ppc_xcoff_parse_cons): New functions.
	(md_being): Initialize XCOFF sections.
	(ppc_xcoff_suffix): Add support for TLS relocations
	(fixup_size, md_apply_fix): Add support for new BFD_RELOC.
	(ppc_change_csect): Handle XMC_TL, XMC_UL.  Correctly, add XMC_BS
	to .bss section.  Handle new XCOFF section variables.
	(ppc_comm): Likewise.
	(ppc_toc): Likewise.
	(ppc_symbol_new_hook): Likewise.
	(ppc_frob_symbol): Likewise.
	(ppc_fix_adjustable): Add tbss support.
	* config/tc-ppc.h (TC_PARSE_CONS_EXPRESSION): New define.
	(ppc_xcoff_parse_cons): Add prototype.
	(struct ppc_xcoff_section): New structure.
ld/
	* emultempl/aix.em: Ensure .tdata section is removed
	if empty, even with -r flag.
	* scripttempl/aix.sc: Handle TLS sections.
	* testsuite/ld-powerpc/aix52.exp: Add new tests.
	* testsuite/ld-powerpc/aix-tls-reloc-32.d: New test.
	* testsuite/ld-powerpc/aix-tls-reloc-64.d: New test.
	* testsuite/ld-powerpc/aix-tls-reloc.ex: New test.
	* testsuite/ld-powerpc/aix-tls-reloc.s: New test.
	* testsuite/ld-powerpc/aix-tls-section-32.d: New test.
	* testsuite/ld-powerpc/aix-tls-section-64.d: New test.
	* testsuite/ld-powerpc/aix-tls-section.ex: New test.
	* testsuite/ld-powerpc/aix-tls-section.s: New test.
include/
	* coff/internal.h (struct internal_aouthdr): Add new fields.
	* coff/rs6000.h (AOUTHDRÃ): Add new fields.
	* coff/rs6k64.h (struct external_filehdr): Likewise.
	* coff/xcoff.h (_TDATA), _TBSS): New defines
	(RS6K_AOUTHDR_TLS_LE, RS6K_AOUTHDR_RAS, RS6K_AOUTHDR_ALGNTDATA,
	RS6K_AOUTHDR_SHR_SYMTAB, RS6K_AOUTHDR_FORK_POLICY,
	RS6K_AOUTHDR_FORK_COR): New defines.
	(XMC_TU): Removed.
	(XMC_UL): New define.
2021-03-12 22:47:33 +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
aix52.exp aix: implement TLS relocation for gas and ld 2021-03-12 22:47:33 +10:30
aix-abs-branch-1-32.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-abs-branch-1-64.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-abs-branch-1.dd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-abs-branch-1.ex
aix-abs-branch-1.im
aix-abs-branch-1.s
aix-abs-reloc-1-32.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-abs-reloc-1-32.od powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-abs-reloc-1-64.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-abs-reloc-1-64.od powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-abs-reloc-1.ex
aix-abs-reloc-1.im
aix-abs-reloc-1.s
aix-core-sec-1.ex
aix-core-sec-1.hd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-core-sec-1.s
aix-core-sec-2.ex
aix-core-sec-2.hd
aix-core-sec-2.s
aix-core-sec-3.ex
aix-core-sec-3.hd
aix-core-sec-3.s
aix-export-1-all-32.dd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-export-1-all-64.dd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-export-1-full-32.dd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-export-1-full-64.dd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-export-1a.s
aix-export-1b.s
aix-export-2-32.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-export-2-64.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-export-2.s
aix-gc-1-32.dd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-gc-1-32.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-gc-1-64.dd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-gc-1-64.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-gc-1.ex
aix-gc-1.s
aix-glink-1-32.d
aix-glink-1-32.dd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-glink-1-64.d
aix-glink-1-64.dd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-glink-1.ex
aix-glink-1.s
aix-glink-2-32.dd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-glink-2-64.dd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-glink-2a.ex
aix-glink-2a.s
aix-glink-2b.s
aix-glink-2c.ex
aix-glink-2c.s
aix-glink-2d.s
aix-glink-3-32.d
aix-glink-3-32.dd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-glink-3-64.d
aix-glink-3-64.dd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-glink-3.s
aix-glink-3a.s
aix-glink-3b.s
aix-largetoc-1-32.d aix: implement R_TOCU and R_TOCL relocations 2021-03-12 22:47:23 +10:30
aix-largetoc-1-64.d aix: implement R_TOCU and R_TOCL relocations 2021-03-12 22:47:23 +10:30
aix-largetoc-1.ex aix: implement R_TOCU and R_TOCL relocations 2021-03-12 22:47:23 +10:30
aix-largetoc-1.s aix: implement R_TOCU and R_TOCL relocations 2021-03-12 22:47:23 +10:30
aix-lineno-1.s
aix-lineno-1.txt
aix-lineno-1a-32.dd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-lineno-1a-32.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-lineno-1a-64.dd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-lineno-1a-64.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-lineno-1b-32.dd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-lineno-1b-32.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-lineno-1b-64.dd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-lineno-1b-64.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-no-dup-syms-1-dso-32.dnd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-no-dup-syms-1-dso-32.drd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-no-dup-syms-1-dso-32.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-no-dup-syms-1-dso-32.rd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-no-dup-syms-1-dso-64.dnd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-no-dup-syms-1-dso-64.drd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-no-dup-syms-1-dso-64.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-no-dup-syms-1-dso-64.rd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-no-dup-syms-1-rel.nd
aix-no-dup-syms-1-rel.rd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-no-dup-syms-1.ex
aix-no-dup-syms-1.im
aix-no-dup-syms-1a.s
aix-no-dup-syms-1b.s
aix-ref-1-32.od powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-ref-1-64.od powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-ref-1.s
aix-rel-1.od
aix-rel-1.s
aix-tls-reloc-32.d aix: implement TLS relocation for gas and ld 2021-03-12 22:47:33 +10:30
aix-tls-reloc-64.d aix: implement TLS relocation for gas and ld 2021-03-12 22:47:33 +10:30
aix-tls-reloc.ex aix: implement TLS relocation for gas and ld 2021-03-12 22:47:33 +10:30
aix-tls-reloc.s aix: implement TLS relocation for gas and ld 2021-03-12 22:47:33 +10:30
aix-tls-section-32.d aix: implement TLS relocation for gas and ld 2021-03-12 22:47:33 +10:30
aix-tls-section-64.d aix: implement TLS relocation for gas and ld 2021-03-12 22:47:33 +10:30
aix-tls-section.ex aix: implement TLS relocation for gas and ld 2021-03-12 22:47:33 +10:30
aix-tls-section.s aix: implement TLS relocation for gas and ld 2021-03-12 22:47:33 +10:30
aix-toc-1-32.dd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-toc-1-64.dd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-toc-1.ex
aix-toc-1a.s
aix-toc-1b.s
aix-weak-1-dso-32.dnd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-weak-1-dso-32.hd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-weak-1-dso-32.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-weak-1-dso-64.dnd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-weak-1-dso-64.hd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-weak-1-dso-64.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-weak-1-gcdso-32.dnd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-weak-1-gcdso-32.hd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-weak-1-gcdso-32.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-weak-1-gcdso-64.dnd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-weak-1-gcdso-64.hd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-weak-1-gcdso-64.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-weak-1-rel.hd
aix-weak-1-rel.nd
aix-weak-1.ex
aix-weak-1a.s
aix-weak-1b.s
aix-weak-2a-32.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-weak-2a-64.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-weak-2a.ex
aix-weak-2a.s
aix-weak-2b-32.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-weak-2b-64.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-weak-2b.s
aix-weak-2c-32.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-weak-2c-32.od powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-weak-2c-64.nd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-weak-2c-64.od powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-weak-2c.ex
aix-weak-2c.s
aix-weak-3-32.d ld error/warning messages 2018-02-26 10:51:12 +10:30
aix-weak-3-32.dd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-weak-3-64.d ld error/warning messages 2018-02-26 10:51:12 +10:30
aix-weak-3-64.dd powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
aix-weak-3a.ex
aix-weak-3a.s
aix-weak-3b.ex
aix-weak-3b.s
ambiguousv1.d Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
ambiguousv1b.d PR25384, PowerPC64 ELFv1 copy relocs against function symbols 2020-01-15 12:29:21 +10:30
ambiguousv2.d Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
ambiguousv2b.d Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
apuinfo1.s PowerPC VLE 2016-06-07 22:04:38 +09:30
apuinfo2.s
apuinfo-nul1.s
apuinfo-nul.rd
apuinfo-nul.s
apuinfo-vle2.s PowerPC VLE 2016-06-07 22:04:38 +09:30
apuinfo-vle.rd
apuinfo-vle.s
apuinfo.rd
attr-gnu-4-0.s
attr-gnu-4-1.s
attr-gnu-4-2.s
attr-gnu-4-3.s
attr-gnu-4-00.d
attr-gnu-4-01.d PowerPC .gnu.attributes 2016-09-26 18:04:57 +09:30
attr-gnu-4-02.d PowerPC .gnu.attributes 2016-09-26 18:04:57 +09:30
attr-gnu-4-03.d PowerPC .gnu.attributes 2016-09-26 18:04:57 +09:30
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 Error for mismatched powerpc ABI tags 2018-07-05 10:21:37 +09:30
attr-gnu-4-13.d Error for mismatched powerpc ABI tags 2018-07-05 10:21:37 +09:30
attr-gnu-4-20.d PowerPC .gnu.attributes 2016-09-26 18:04:57 +09:30
attr-gnu-4-21.d Error for mismatched powerpc ABI tags 2018-07-05 10:21:37 +09:30
attr-gnu-4-22.d PowerPC .gnu.attributes 2016-09-26 18:04:57 +09:30
attr-gnu-4-23.d Error for mismatched powerpc ABI tags 2018-07-05 10:21:37 +09:30
attr-gnu-4-31.d Error for mismatched powerpc ABI tags 2018-07-05 10:21:37 +09:30
attr-gnu-4-32.d Error for mismatched powerpc ABI tags 2018-07-05 10:21:37 +09:30
attr-gnu-4-33.d PowerPC .gnu.attributes 2016-09-26 18:04:57 +09:30
attr-gnu-8-1.s
attr-gnu-8-2.s
attr-gnu-8-3.s
attr-gnu-8-11.d PowerPC .gnu.attributes 2016-09-26 18:04:57 +09:30
attr-gnu-8-23.d Error for mismatched powerpc ABI tags 2018-07-05 10:21:37 +09:30
attr-gnu-8-31.d
attr-gnu-12-1.s
attr-gnu-12-2.s
attr-gnu-12-11.d
attr-gnu-12-21.d Error for mismatched powerpc ABI tags 2018-07-05 10:21:37 +09:30
big.s Enhance powerpc ld -r --relax 2018-07-25 16:52:58 +09:30
callstub-1.d Power10 stub selection 2020-07-19 12:27:47 +09:30
callstub-1.s PowerPC notoc call stub tests 2019-06-28 10:16:17 +09:30
callstub-2.d Power10 stub selection 2020-07-19 12:27:47 +09:30
callstub-2.s PowerPC notoc call stub tests 2019-06-28 10:16:17 +09:30
callstub-3.d PowerPC64 ld --no-power10-stubs 2020-07-10 11:14:38 +09:30
callstub-4.d Power10 stub selection 2020-07-19 12:27:47 +09:30
defsym.d Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
defsym.s
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 PR26882, --enable-textrel-check=warning test failures on powerpc 2020-11-17 20:59:53 +10:30
dotsym4.d PR26882, --enable-textrel-check=warning test failures on powerpc 2020-11-17 20:59:53 +10:30
dotsymref.s PowerPC64 dot-symbol compatibility bugfixes 2016-12-03 21:00:01 +10:30
elfv2-2a.s
elfv2-2b.s
elfv2-2exe.d Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
elfv2-2so.d
elfv2.s Implement PowerPC64 .localentry for value 1 2018-07-26 12:53:50 +09:30
elfv2exe.d PR24704, Internal error building skiboot for powerpc64-linux-gnu 2019-06-23 23:11:27 +09:30
elfv2so.d PPC64_OPT_LOCALENTRY is incompatible with tail calls 2020-09-26 19:03:02 +09:30
export-class.exp Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
ext.d R_PPC64_REL24_NOTOC support 2018-08-05 12:11:51 +09:30
ext.lnk R_PPC64_REL24_NOTOC support 2018-08-05 12:11:51 +09:30
ext.s R_PPC64_REL24_NOTOC support 2018-08-05 12:11:51 +09:30
funref2.s PR25384, PowerPC64 ELFv1 copy relocs against function symbols 2020-01-15 12:29:21 +10:30
funref.s PR25384, PowerPC64 ELFv1 copy relocs against function symbols 2020-01-15 12:29:21 +10:30
funv1.s PR25384, PowerPC64 ELFv1 copy relocs against function symbols 2020-01-15 12:29:21 +10:30
funv2.s
group1.d PowerPC paranioa testing of symbol merging involving comdat groups 2020-11-18 23:49:31 +10:30
group1.s PowerPC paranioa testing of symbol merging involving comdat groups 2020-11-18 23:49:31 +10:30
group1.sym PowerPC paranioa testing of symbol merging involving comdat groups 2020-11-18 23:49:31 +10:30
group2.d PowerPC paranioa testing of symbol merging involving comdat groups 2020-11-18 23:49:31 +10:30
group2.s PowerPC paranioa testing of symbol merging involving comdat groups 2020-11-18 23:49:31 +10:30
group2.sym PowerPC paranioa testing of symbol merging involving comdat groups 2020-11-18 23:49:31 +10:30
group3.s PowerPC paranioa testing of symbol merging involving comdat groups 2020-11-18 23:49:31 +10:30
group3.sym PowerPC paranioa testing of symbol merging involving comdat groups 2020-11-18 23:49:31 +10:30
inline-1.d PowerPC64 inline PLT call tests 2020-08-16 23:00:34 +09:30
inline-2.d PowerPC64 inline PLT call tests 2020-08-16 23:00:34 +09:30
inline-3.d PowerPC64 inline PLT call tests 2020-08-16 23:00:34 +09:30
inline-4.d PowerPC64 inline PLT call tests 2020-08-16 23:00:34 +09:30
inline.s PowerPC64 inline PLT call tests 2020-08-16 23:00:34 +09:30
inlinepcrel-1.d PowerPC64 inline PLT call tests 2020-08-16 23:00:34 +09:30
inlinepcrel-2.d PowerPC64 inline PLT call tests 2020-08-16 23:00:34 +09:30
inlinepcrel-3.d PowerPC64 inline PLT call tests 2020-08-16 23:00:34 +09:30
inlinepcrel.s PowerPC64 inline PLT call tests 2020-08-16 23:00:34 +09:30
localgot.d PowerPC local got test 2019-10-09 00:20:19 +10:30
localgot.s PowerPC local got test 2019-10-09 00:20:19 +10:30
nodotsym.s PowerPC64 dot-symbol compatibility bugfixes 2016-12-03 21:00:01 +10:30
non-contiguous-powerpc64.d Add support for non-contiguous memory regions 2020-03-13 14:44:45 +00:00
non-contiguous-powerpc.d Non-contiguous memory regions support: Fix testcases after previous commit 2020-03-18 12:38:30 +00:00
non-contiguous-powerpc.ld Add support for non-contiguous memory regions 2020-03-13 14:44:45 +00:00
non-contiguous-powerpc.s Add support for non-contiguous memory regions 2020-03-13 14:44:45 +00:00
notoc2.d PPC64_OPT_LOCALENTRY is incompatible with tail calls 2020-09-26 19:03:02 +09:30
notoc2.s PowerPC notoc linkage stubs 2019-05-24 10:28:07 +09:30
notoc3.d Power10 stub selection 2020-07-19 12:27:47 +09:30
notoc3.s Power10 stub selection 2020-07-19 12:27:47 +09:30
notoc3.wf Power10 stub selection 2020-07-19 12:27:47 +09:30
notoc.d Power10 stub selection 2020-07-19 12:27:47 +09:30
notoc.s PowerPC64 EH info for _notoc linkage stubs 2018-08-07 18:43:55 +09:30
notoc.wf PowerPC64 EH info for _notoc linkage stubs 2018-08-07 18:43:55 +09:30
oldtlslib.s
pcrelopt.d Power10 VSX 32-byte storage access 2020-05-11 21:08:37 +09:30
pcrelopt.s Power10 VSX 32-byte storage access 2020-05-11 21:08:37 +09:30
pcrelopt.sec PowerPC GOT_PCREL34 optimisation 2019-05-24 10:27:53 +09:30
plt1.d
plt1.s
powerpc-32-export-class.rd
powerpc-32-export-class.xd
powerpc-64-export-class.rd
powerpc-64-export-class.xd
powerpc.exp PR27451, -z start_stop_gc for powerpc64 2021-03-02 21:49:56 +10:30
ppc476-shared2.d PR26882, --enable-textrel-check=warning test failures on powerpc 2020-11-17 20:59:53 +10:30
ppc476-shared.d PR26882, --enable-textrel-check=warning test failures on powerpc 2020-11-17 20:59:53 +10:30
ppc476-shared.lnk Make ppc476 testcases more robust 2017-07-07 23:53:18 +09:30
ppc476-shared.s ppc476 linker workaround shared lib fixes again 2015-06-16 17:42:29 +09:30
pr23937.d PR23937, powerpc64le local ifunc IRELATIVE relocs are wrong 2018-11-30 16:18:58 +10:30
pr23937.s PR23937, powerpc64le local ifunc IRELATIVE relocs are wrong 2018-11-30 16:18:58 +10:30
relax.d
relax.s
relaxr.d Enhance powerpc ld -r --relax 2018-07-25 16:52:58 +09:30
relaxrl.d Enhance powerpc ld -r --relax 2018-07-25 16:52:58 +09:30
relbrlt.d PowerPC: Don't generate unused section symbols 2021-01-20 16:12:06 +10:30
relbrlt.s PowerPC: Don't generate unused section symbols 2021-01-20 16:12:06 +10:30
reloc.d
reloc.s
relocsort.d Change readelf so that when --wide is active a relocation's full name is displayed. 2017-10-05 13:25:44 +01:00
relocsort.s Add reloc sort test 2015-08-27 23:21:21 +09:30
sdabase2.d
sdabase2.t
sdabase.d
sdabase.s
sdabase.t
sdadyn.d
sdadyn.s
sdalib.s
startstop.d PR27451, -z start_stop_gc for powerpc64 2021-03-02 21:49:56 +10:30
startstop.r PR27451, -z start_stop_gc for powerpc64 2021-03-02 21:49:56 +10:30
startstop.s PR27451, -z start_stop_gc for powerpc64 2021-03-02 21:49:56 +10:30
startv1.s
startv2.s
symtocbase-1.s
symtocbase-2.s
symtocbase.d
tls32.d PowerPC TPREL_HA/LO optimisation 2020-08-24 21:15:06 +09: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 PowerPC __tls_get_addr arg parsing 2019-02-21 18:05:05 +10:30
tls32.t Fix ppc32 synthetic symbols when __tls_get_addr_opt stub is generated 2015-03-11 18:04:25 +10:30
tls32no.d PowerPC TLS tests 2019-10-07 13:34:40 +10:30
tls32no.g PowerPC TLS tests 2019-10-07 13:34:40 +10:30
tls.d PowerPC TPREL16_HA/LO reloc optimization 2017-08-30 20:43:31 +09:30
tls.g Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
tls.s PowerPC TPREL16_HA/LO reloc optimization 2017-08-30 20:43:31 +09:30
tls.t
tlsdesc2.d PPC64_OPT_LOCALENTRY is incompatible with tail calls 2020-09-26 19:03:02 +09:30
tlsdesc2.wf PPC64_OPT_LOCALENTRY is incompatible with tail calls 2020-09-26 19:03:02 +09:30
tlsdesc3.d PowerPC64 tls_get_addr_desc static support 2020-01-22 17:14:08 +10:30
tlsdesc3.wf PowerPC64 tls_get_addr_desc static support 2020-01-22 17:14:08 +10:30
tlsdesc4.d PowerPC64 tls_get_addr_desc static support 2020-01-22 17:14:08 +10:30
tlsdesc4.s PowerPC64 tls_get_addr_desc static support 2020-01-22 17:14:08 +10:30
tlsdesc4.wf PowerPC64 tls_get_addr_desc static support 2020-01-22 17:14:08 +10:30
tlsdesc.d PowerPC64 __tls_get_addr_desc 2020-01-22 17:14:08 +10:30
tlsdesc.s PowerPC64 __tls_get_addr_desc 2020-01-22 17:14:08 +10:30
tlsdesc.wf PPC64_OPT_LOCALENTRY is incompatible with tail calls 2020-09-26 19:03:02 +09:30
tlsdll_32.s ld --gc-sections fail with __tls_get_addr_opt 2016-05-11 22:40:09 +09: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
tlsexe32.d PowerPC TPREL_HA/LO optimisation 2020-08-24 21:15:06 +09:30
tlsexe32.g Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
tlsexe32.r PowerPC: Don't generate unused section symbols 2021-01-20 16:12:06 +10:30
tlsexe32.t
tlsexe32no.d PowerPC TLS tests 2019-10-07 13:34:40 +10:30
tlsexe32no.g PowerPC TLS tests 2019-10-07 13:34:40 +10:30
tlsexe32no.r PowerPC: Don't generate unused section symbols 2021-01-20 16:12:06 +10:30
tlsexe.d Don't touch r11 in __tls_get_addr stub 2020-01-20 18:58:05 +10:30
tlsexe.g PowerPC dynamic relocations 2017-01-24 12:15:54 +10:30
tlsexe.r PowerPC: Don't generate unused section symbols 2021-01-20 16:12:06 +10:30
tlsexe.t
tlsexeno.d Don't touch r11 in __tls_get_addr stub 2020-01-20 18:58:05 +10:30
tlsexeno.g PowerPC TLS tests 2019-10-07 13:34:40 +10:30
tlsexeno.r PowerPC: Don't generate unused section symbols 2021-01-20 16:12:06 +10:30
tlsexenors.d PowerPC64 __tls_get_addr_desc 2020-01-22 17:14:08 +10:30
tlsexenors.r PowerPC: Don't generate unused section symbols 2021-01-20 16:12:06 +10:30
tlsexers.d PowerPC64 __tls_get_addr_desc 2020-01-22 17:14:08 +10:30
tlsexers.r PowerPC: Don't generate unused section symbols 2021-01-20 16:12:06 +10:30
tlsexetoc.d Don't touch r11 in __tls_get_addr stub 2020-01-20 18:58:05 +10:30
tlsexetoc.g Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
tlsexetoc.r PowerPC: Don't generate unused section symbols 2021-01-20 16:12:06 +10:30
tlsexetoc.t
tlsexetocno.d Don't touch r11 in __tls_get_addr stub 2020-01-20 18:58:05 +10:30
tlsexetocno.g PowerPC TLS tests 2019-10-07 13:34:40 +10:30
tlsexetocnors.d PowerPC64 __tls_get_addr_desc 2020-01-22 17:14:08 +10:30
tlsexetocrs.d PowerPC64 __tls_get_addr_desc 2020-01-22 17:14:08 +10:30
tlsexetocrs.r PowerPC: Don't generate unused section symbols 2021-01-20 16:12:06 +10:30
tlsgd.d PowerPC Rename powerxx to power10 2020-05-11 21:08:36 +09:30
tlsgd.s [PowerPC64] pc-relative TLS relocations 2019-07-19 18:01:25 +09:30
tlsget2.d PowerPC: Don't generate unused section symbols 2021-01-20 16:12:06 +10:30
tlsget2.wf PowerPC: Don't generate unused section symbols 2021-01-20 16:12:06 +10:30
tlsget.d PowerPC: Don't generate unused section symbols 2021-01-20 16:12:06 +10:30
tlsget.s PR26656 testcases 2020-09-28 19:36:35 +09:30
tlsget.wf PowerPC: Don't generate unused section symbols 2021-01-20 16:12:06 +10:30
tlsie.d PowerPC Rename powerxx to power10 2020-05-11 21:08:36 +09:30
tlsie.s PowerPC tlsie test fix 2019-08-02 12:41:05 +09:30
tlsld.d PowerPC Rename powerxx to power10 2020-05-11 21:08:36 +09:30
tlsld.s [PowerPC64] pc-relative TLS relocations 2019-07-19 18:01:25 +09:30
tlsldopt32.d PowerPC TPREL_HA/LO optimisation 2020-08-24 21:15:06 +09:30
tlsldopt32.s [PowerPC] Rename testcase 2019-07-19 18:01:25 +09:30
tlsldopt.d [PowerPC] Rename testcase 2019-07-19 18:01:25 +09:30
tlsldopt.s [PowerPC] Rename testcase 2019-07-19 18:01:25 +09:30
tlslib32.s
tlslib.s
tlsmark32.d PowerPC TPREL_HA/LO optimisation 2020-08-24 21:15:06 +09:30
tlsmark32.s
tlsmark.d PowerPC TPREL16_HA/LO reloc optimization 2017-08-30 20:43:31 +09:30
tlsmark.s
tlsno.d PowerPC TLS tests 2019-10-07 13:34:40 +10:30
tlsno.g PowerPC TLS tests 2019-10-07 13:34:40 +10:30
tlsopt1_32.d ppc32 tlsopt tests 2017-07-14 22:51:01 +09:30
tlsopt1_32.s ppc32 tlsopt tests 2017-07-14 22:51:01 +09:30
tlsopt1.d
tlsopt1.s
tlsopt2_32.d ppc32 tlsopt tests 2017-07-14 22:51:01 +09:30
tlsopt2_32.s ppc32 tlsopt tests 2017-07-14 22:51:01 +09:30
tlsopt2.d
tlsopt2.s
tlsopt3_32.d ppc32 tlsopt tests 2017-07-14 22:51:01 +09:30
tlsopt3_32.s ppc32 tlsopt tests 2017-07-14 22:51:01 +09:30
tlsopt3.d
tlsopt3.s
tlsopt4_32.d PowerPC TPREL_HA/LO optimisation 2020-08-24 21:15:06 +09:30
tlsopt4_32.s ppc32 tlsopt tests 2017-07-14 22:51:01 +09:30
tlsopt4.d PowerPC TPREL16_HA/LO reloc optimization 2017-08-30 20:43:31 +09:30
tlsopt4.s
tlsopt5_32.d PowerPC disassembler: Don't emit trailing spaces 2019-04-05 12:20:49 +10:30
tlsopt5_32.s ppc32 tlsopt tests 2017-07-14 22:51:01 +09:30
tlsopt5.d PPC64_OPT_LOCALENTRY is incompatible with tail calls 2020-09-26 19:03:02 +09:30
tlsopt5.s PowerPC64: remove empty .rela.dyn (.rela.branch_lt) 2020-04-20 08:14:42 +09:30
tlsopt5.wf PPC64_OPT_LOCALENTRY is incompatible with tail calls 2020-09-26 19:03:02 +09:30
tlsopt6.d PPC64_OPT_LOCALENTRY is incompatible with tail calls 2020-09-26 19:03:02 +09:30
tlsopt6.wf PPC64_OPT_LOCALENTRY is incompatible with tail calls 2020-09-26 19:03:02 +09:30
tlsso32.d PowerPC PIC vs. DLL TLS issues 2019-10-04 22:53:56 +09:30
tlsso32.g PowerPC PIC vs. DLL TLS issues 2019-10-04 22:53:56 +09:30
tlsso32.r PowerPC: Don't generate unused section symbols 2021-01-20 16:12:06 +10:30
tlsso32.t
tlsso.d PowerPC PIC vs. DLL TLS issues 2019-10-04 22:53:56 +09:30
tlsso.g PowerPC PIC vs. DLL TLS issues 2019-10-04 22:53:56 +09:30
tlsso.r PowerPC: Don't generate unused section symbols 2021-01-20 16:12:06 +10:30
tlsso.t
tlstoc.d PowerPC TPREL16_HA/LO reloc optimization 2017-08-30 20:43:31 +09:30
tlstoc.g Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
tlstoc.s
tlstoc.t
tlstocno.d PowerPC TLS tests 2019-10-07 13:34:40 +10:30
tlstocno.g PowerPC TLS tests 2019-10-07 13:34:40 +10:30
tlstocso.d Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
tlstocso.g Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
tlstocso.r PowerPC: Don't generate unused section symbols 2021-01-20 16:12:06 +10:30
tlstocso.t
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
tocopt2.d Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
tocopt2.out
tocopt2.s
tocopt3.d Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
tocopt3.s
tocopt4.d Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
tocopt4a.s
tocopt4b.s
tocopt5.d PowerPC64 GOT indirect to GOT relative optimisation 2019-04-30 22:09:54 +09:30
tocopt5.s PowerPC64 GOT indirect to GOT relative optimisation 2019-04-30 22:09:54 +09:30
tocopt6-inc.s Fix an opd->append index in elf64-ppc.c 2015-07-05 19:57:07 +01:00
tocopt6.d Lose _r2off in powerpc64 stub names 2018-08-05 10:33:07 +09:30
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 GOT indirect to GOT relative optimisation 2019-04-30 22:09:54 +09:30
tocopt7.out LD: vfinfo: Make clever formatters consistent WRT function name reporting 2017-02-15 13:41:51 +00:00
tocopt7.s PowerPC64 GOT indirect to GOT relative optimisation 2019-04-30 22:09:54 +09:30
tocopt8.d PowerPC64 GOT indirect to GOT relative optimisation 2019-04-30 22:09:54 +09:30
tocopt8.s PowerPC64 GOT indirect to GOT relative optimisation 2019-04-30 22:09:54 +09:30
tocopt.d PowerPC64 GOT indirect to GOT relative optimisation 2019-04-30 22:09:54 +09:30
tocopt.out LD: vfinfo: Make clever formatters consistent WRT function name reporting 2017-02-15 13:41:51 +00:00
tocopt.s PowerPC64 GOT indirect to GOT relative optimisation 2019-04-30 22:09:54 +09:30
tocsave1.s PowerPC64 tocsave testcases 2017-06-21 22:45:15 +09:30
tocsave1a.d PowerPC64 tocsave testcases 2017-06-21 22:45:15 +09:30
tocsave1s.d PowerPC64 tocsave testcases 2017-06-21 22:45:15 +09:30
tocsave2.s PowerPC64 tocsave testcases 2017-06-21 22:45:15 +09:30
tocsave2a.d PowerPC64 tocsave testcases 2017-06-21 22:45:15 +09:30
tocsave2s.d PowerPC64 tocsave testcases 2017-06-21 22:45:15 +09:30
tocsavelib.s PowerPC64 tocsave testcases 2017-06-21 22:45:15 +09: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
tprel32.d PowerPC TPREL_HA/LO optimisation 2020-08-24 21:15:06 +09:30
tprel.d PowerPC TPREL_HA/LO optimisation 2020-08-24 21:15:06 +09:30
tprel.s PowerPC TPREL_HA/LO optimisation 2020-08-24 21:15:06 +09:30
tprelbad.d PowerPC TPREL_HA/LO optimisation 2020-08-24 21:15:06 +09:30
tprelbad.s PowerPC TPREL_HA/LO optimisation 2020-08-24 21:15:06 +09:30
vle-multiseg-1.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
vle-multiseg-1.ld
vle-multiseg-2.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
vle-multiseg-2.ld
vle-multiseg-3.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
vle-multiseg-3.ld
vle-multiseg-4.d
vle-multiseg-4.ld
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
vle-multiseg-6.d Adjust VLE testsuite 2016-08-31 14:05:44 +09:30
vle-multiseg-6.ld
vle-multiseg-6a.s
vle-multiseg-6b.s
vle-multiseg-6c.s
vle-multiseg-6d.s
vle-multiseg.s
vle-reloc-1.d
vle-reloc-1.s
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
vle-reloc-3.s
vle-reloc-def-1.s
vle-reloc-def-2.s
vle-reloc-def-3.s
vle.ld
vxworks1-lib.dd Fix more powerpc testsuite source errors 2017-02-16 22:39:51 +10:30
vxworks1-lib.nd
vxworks1-lib.rd
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 ld error/warning messages 2018-02-26 10:51:12 +10:30
vxworks1.dd
vxworks1.ld
vxworks1.rd
vxworks1.s
vxworks2-static.sd
vxworks2.s
vxworks2.sd Separate header PT_LOAD for -z separate-code 2018-10-08 20:26:08 +10:30
vxworks-relax-2.rd Re: Enhance powerpc ld -r --relax 2018-07-26 17:38:56 +09:30
vxworks-relax-2.s
vxworks-relax.rd
vxworks-relax.s
weak1.d PowerPC64 undefined weak visibility vs GOT optimisation 2021-03-02 21:47:42 +10:30
weak1.r PowerPC64 undefined weak visibility vs GOT optimisation 2021-03-02 21:47:42 +10:30
weak1.s PowerPC64 undefined weak visibility vs GOT optimisation 2021-03-02 21:47:42 +10:30
weak1so.d PowerPC64 undefined weak visibility vs GOT optimisation 2021-03-02 21:47:42 +10:30
weak1so.r PowerPC64 undefined weak visibility vs GOT optimisation 2021-03-02 21:47:42 +10:30