binutils-gdb/ld/testsuite/ld-ifunc
H.J. Lu c9eb960580 ld: Adjust x86 and x86-64 tests for -z mark-plt
To support -z mark-plt enabled by default, adjust x86 tests to accept
non-zero r_addend for JUMP_SLOT relocation and pass -z nomark-plt to
x86-64 tests if -z mark-plt changes the expected outputs.

	* testsuite/ld-elf/indirect-extern-access-2.rd: Allow non-zero
	r_addend for JUMP_SLOT relocation.
	* testsuite/ld-elf/pr23161d.rd: Likewise.
	* testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
	* testsuite/ld-ifunc/ifunc-16-x86-64-now.d: Pass -z nomark-plt
	to linker.
	* testsuite/ld-ifunc/ifunc-16-x86-64.d: Likewise.
	* testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
	* testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
	* testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
	* testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
	* testsuite/ld-ifunc/ifunc-20-x86-64.d: Likewise.
	* testsuite/ld-ifunc/ifunc-5b-x86-64.d: Likewise.
	* testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
	* testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
	* testsuite/ld-x86-64/dt-relr-1a-x32.d: Likewise.
	* testsuite/ld-x86-64/dt-relr-1a.d: Likewise.
	* testsuite/ld-x86-64/dt-relr-1b-x32.d: Likewise.
	* testsuite/ld-x86-64/dt-relr-1b.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
	* testsuite/ld-x86-64/pr19636-2d.d: Likewise.
	* testsuite/ld-x86-64/pr19636-2e.d: Likewise.
	* testsuite/ld-x86-64/pr19636-2f.d: Likewise.
	* testsuite/ld-x86-64/pr19636-2l.d: Likewise.
	* testsuite/ld-x86-64/x86-64.exp: Pass -z nomark-plt to linker
	in 6 tests.
2024-01-06 07:10:15 -08:00
..
binutils.exp Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
dummy.c Check incompatible existing default symbol definition 2014-01-21 15:42:51 -08:00
ifunc-1-local-x86.d i386: Update IFUNC tests for PLT address 2018-02-16 09:32:56 -08:00
ifunc-1-local-x86.map x86: Dump local IFUNC functions in the map file 2017-06-08 03:53:43 -07:00
ifunc-1-local-x86.s
ifunc-1-x86.d i386: Update IFUNC tests for PLT address 2018-02-16 09:32:56 -08:00
ifunc-1-x86.map x86: Dump local IFUNC functions in the map file 2017-06-08 03:53:43 -07:00
ifunc-1-x86.s
ifunc-2-i386-now.d i386: Don't allow GOTOFF relocation against IFUNC symbol for PIC 2022-07-21 11:40:27 -07:00
ifunc-2-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-2-i386.s i386: Don't allow GOTOFF relocation against IFUNC symbol for PIC 2022-07-21 11:40:27 -07:00
ifunc-2-local-i386-now.d i386: Don't allow GOTOFF relocation against IFUNC symbol for PIC 2022-07-21 11:40:27 -07:00
ifunc-2-local-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-2-local-i386.s i386: Don't allow GOTOFF relocation against IFUNC symbol for PIC 2022-07-21 11:40:27 -07:00
ifunc-2-local-x86-64-now.d ld: Adjust x86 and x86-64 tests for -z mark-plt 2024-01-06 07:10:15 -08:00
ifunc-2-local-x86-64.d ld: Adjust x86 and x86-64 tests for -z mark-plt 2024-01-06 07:10:15 -08:00
ifunc-2-local-x86-64.s
ifunc-2-x86-64-now.d ld: Adjust x86 and x86-64 tests for -z mark-plt 2024-01-06 07:10:15 -08:00
ifunc-2-x86-64.d ld: Adjust x86 and x86-64 tests for -z mark-plt 2024-01-06 07:10:15 -08:00
ifunc-2-x86-64.s
ifunc-3-x86.s
ifunc-3a-x86.d i386: Update IFUNC tests for PLT address 2018-02-16 09:32:56 -08:00
ifunc-3b-x86.d
ifunc-4-local-x86.d
ifunc-4-local-x86.s Enable ld-ifunc tests for more targets 2020-02-06 13:59:40 +10:30
ifunc-4-x86.d
ifunc-4-x86.s Enable ld-ifunc tests for more targets 2020-02-06 13:59:40 +10:30
ifunc-4a-x86.d
ifunc-5-i386.s
ifunc-5-local-i386.s
ifunc-5-local-x86-64.s
ifunc-5-x86-64.s
ifunc-5a-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-5a-local-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-5a-local-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-5a-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-5b-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-5b-local-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-5b-local-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-5b-x86-64.d ld: Adjust x86 and x86-64 tests for -z mark-plt 2024-01-06 07:10:15 -08:00
ifunc-5r-local-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-5r-local-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-6-i386.s
ifunc-6-x86-64.s
ifunc-6a-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-6a-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-6b-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-6b-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-7-i386.s
ifunc-7-x86-64.s
ifunc-7a-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-7a-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-7b-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-7b-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-8-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-8-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-8a-i386.s
ifunc-8a-x86-64.s
ifunc-8b-i386.s
ifunc-8b-x86-64.s
ifunc-9-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-9-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-9-x86.s
ifunc-10-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-10-i386.s
ifunc-10-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-10-x86-64.s
ifunc-11-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-11-i386.s
ifunc-11-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-11-x86-64.s
ifunc-12-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-12-i386.s
ifunc-12-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-12-x86-64.s
ifunc-13-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-13-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-13a-i386.s
ifunc-13a-x86-64.s
ifunc-13b-i386.s
ifunc-13b-x86-64.s
ifunc-14a-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-14a-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-14a.s i386: Issue an error on non-PIC call to IFUNC in PIC object 2016-08-29 08:14:45 -07:00
ifunc-14b-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-14b-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-14b.s
ifunc-14c-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-14c-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-14c.s i386: Issue an error on non-PIC call to IFUNC in PIC object 2016-08-29 08:14:45 -07:00
ifunc-14d-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-14d-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-14e-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-14e-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-14f-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-14f-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-15-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-15-i386.s
ifunc-15-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-15-x86-64.s
ifunc-16-i386-now.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-16-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-16-x86-64-now.d ld: Adjust x86 and x86-64 tests for -z mark-plt 2024-01-06 07:10:15 -08:00
ifunc-16-x86-64.d ld: Adjust x86 and x86-64 tests for -z mark-plt 2024-01-06 07:10:15 -08:00
ifunc-16-x86.s
ifunc-17a-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-17a-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-17a.s
ifunc-17b-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-17b-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-17b.s
ifunc-18a-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-18a-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-18a.s Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
ifunc-18b-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-18b-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-18b.s
ifunc-19a-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-19a-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-19a.s
ifunc-19b-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-19b-x86-64.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-19b.s
ifunc-20-i386.d Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ifunc-20-x86-64.d ld: Adjust x86 and x86-64 tests for -z mark-plt 2024-01-06 07:10:15 -08:00
ifunc-20.s
ifunc-21-i386.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
ifunc-21-i386.s Add ifunc tests for call, jmp, add, test 2015-09-03 04:03:13 -07:00
ifunc-21-x86-64.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
ifunc-21-x86-64.s Add ifunc tests for call, jmp, add, test 2015-09-03 04:03:13 -07:00
ifunc-22-i386.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
ifunc-22-i386.s Add ifunc tests for call, jmp, add, test 2015-09-03 04:03:13 -07:00
ifunc-22-x86-64.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
ifunc-22-x86-64.s Add ifunc tests for call, jmp, add, test 2015-09-03 04:03:13 -07:00
ifunc-23-x86.s Enable ld-ifunc tests for more targets 2020-02-06 13:59:40 +10:30
ifunc-23a-x86.d ld: Skip some x86 ifunc tests for lynxos and nto 2020-05-26 14:25:19 -07:00
ifunc-23b-x86.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
ifunc-23c-x86.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
ifunc-24-x86.s Enable ld-ifunc tests for more targets 2020-02-06 13:59:40 +10:30
ifunc-24a-x86.d ld: Skip some x86 ifunc tests for lynxos and nto 2020-05-26 14:25:19 -07:00
ifunc-24b-x86.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
ifunc-24c-x86.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
ifunc-25-x86.s Enable ld-ifunc tests for more targets 2020-02-06 13:59:40 +10:30
ifunc-25a-x86.d ld: Skip some x86 ifunc tests for lynxos and nto 2020-05-26 14:25:19 -07:00
ifunc-25b-x86.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
ifunc-25c-x86.d ld: Adjust x86 and x86-64 tests for -z mark-plt 2024-01-06 07:10:15 -08:00
ifunc-26.d Enable ld-ifunc tests for more targets 2020-02-06 13:59:40 +10:30
ifunc-26.s ld: Unify STT_GNU_IFUNC handling 2018-05-28 08:15:21 -07:00
ifunc-common-1.out
ifunc-common-1a.c
ifunc-common-1b.c
ifunc-lib.c Add ifunc-main IFUNC tests 2014-11-20 10:49:46 -08:00
ifunc-main.c Always load function pointer into a stack variable 2014-11-20 11:29:45 -08:00
ifunc-main.out Add ifunc-main IFUNC tests 2014-11-20 10:49:46 -08:00
ifunc.exp Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
ifuncmod5.d Fix Sparc, s390 and AArch64 targets so that they can handle relocs against ifunc symbols found in note sections. 2018-03-09 14:37:36 +00:00
ifuncmod5.s Fix Sparc, s390 and AArch64 targets so that they can handle relocs against ifunc symbols found in note sections. 2018-03-09 14:37:36 +00:00
lib.c Enable ld-ifunc tests for more targets 2020-02-06 13:59:40 +10:30
pass.out Handle local IFUNC symbols in shared object 2016-03-08 09:42:16 -08:00
pr16467.out Check incompatible existing default symbol definition 2014-01-21 15:42:51 -08:00
pr16467a.c Check incompatible existing default symbol definition 2014-01-21 15:42:51 -08:00
pr16467a.map Check incompatible existing default symbol definition 2014-01-21 15:42:51 -08:00
pr16467b.c PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
pr16467b.map Check incompatible existing default symbol definition 2014-01-21 15:42:51 -08:00
pr16467c.c Check incompatible existing default symbol definition 2014-01-21 15:42:51 -08:00
pr17154-i386-now.d ELF: Don't generate unused section symbols 2021-01-07 06:46:55 -08:00
pr17154-i386.d ELF: Don't generate unused section symbols 2021-01-07 06:46:55 -08:00
pr17154-x86-64-now.d ld: Adjust x86 and x86-64 tests for -z mark-plt 2024-01-06 07:10:15 -08:00
pr17154-x86-64.d ld: Adjust x86 and x86-64 tests for -z mark-plt 2024-01-06 07:10:15 -08:00
pr17154-x86.s Properly match PLT entry against .got.plt relocation 2014-07-16 10:57:49 -07:00
pr18808.out Skip IFUNC relocations in debug sections 2015-08-11 12:59:11 -07:00
pr18808a.c Skip IFUNC relocations in debug sections 2015-08-11 12:59:11 -07:00
pr18808b.c Fix compile time warning message in linker testsuite test. 2017-02-21 11:00:21 +00:00
pr18841.out Return reloc_class_ifunc for reloc against IFUNC 2015-08-18 09:50:08 -07:00
pr18841a.c Return reloc_class_ifunc for reloc against IFUNC 2015-08-18 09:50:08 -07:00
pr18841b.c Return reloc_class_ifunc for reloc against IFUNC 2015-08-18 09:50:08 -07:00
pr18841c.c Add another test for PR ld/18841 2015-08-18 10:43:47 -07:00
pr23169a.c ld/elf/x86: Don't compare IFUNC address in the shared object 2021-01-16 07:02:36 -08:00
pr23169a.rd Build ifunc tests when non-native 2018-06-18 22:00:32 +09:30
pr23169b.c x86; Allow IFUNC pointer defined in PDE 2018-05-14 03:55:50 -07:00
pr23169b.rd Build ifunc tests when non-native 2018-06-18 22:00:32 +09:30
pr23169c.c x86; Allow IFUNC pointer defined in PDE 2018-05-14 03:55:50 -07:00
pr23169c.rd Build ifunc tests when non-native 2018-06-18 22:00:32 +09:30
pr29216.c x86: Properly handle IFUNC function pointer reference 2022-05-31 16:28:06 -07:00
prog.c
test-1.c
test-2.c