binutils-gdb/ld/testsuite
H.J. Lu 406b4ada55 x86: Count PLT for GOTOFF relocation against IFUNC symbol
Since GOTOFF relocations against IFUNC symbols must go through PLT,
set PLT reference count to 1 for GOTOFF relocation.

bfd/

	PR ld/27998
	* elfxx-x86.c (elf_x86_allocate_dynrelocs): Count PLT for GOTOFF
	relocation against IFUNC symbols.
	(_bfd_x86_elf_adjust_dynamic_symbol): Likewise.

ld/

	PR ld/27998
	* testsuite/ld-i386/i386.exp: Run PR ld/27998 tests.
	* testsuite/ld-i386/pr27998a.d: New file.
	* testsuite/ld-i386/pr27998a.s: Likewise.
	* testsuite/ld-i386/pr27998b.d: Likewise.
	* testsuite/ld-i386/pr27998b.s: Likewise.
2021-06-19 20:21:04 -07:00
..
config
ld-aarch64 Adjust readelf's output so that section symbols without a name as shown with their section name. 2021-04-21 10:34:32 +01:00
ld-alpha Adjust readelf's output so that section symbols without a name as shown with their section name. 2021-04-21 10:34:32 +01:00
ld-arc
ld-arm arm: fix fallout from recent thumb2 detection patch 2021-05-12 11:43:59 +01:00
ld-auto-import
ld-avr
ld-bootstrap ld: Properly create a symbolic link to tmpdir/ldscripts 2021-04-23 12:36:45 -07:00
ld-bpf
ld-cdtest
ld-checks
ld-cris Adjust readelf's output so that section symbols without a name as shown with their section name. 2021-04-21 10:34:32 +01:00
ld-crx
ld-csky
ld-ctf libctf, ld: fix test results for upstream GCC 2021-05-06 09:31:31 +01:00
ld-cygwin
ld-d10v
ld-discard
ld-dynamic
ld-elf elf: Update GNU_PROPERTY_UINT32_[AND|OR]_XXX tests 2021-06-19 04:41:10 -07:00
ld-elfcomm
ld-elfvers
ld-elfvsb
ld-elfweak
ld-fastcall
ld-frv
ld-gc
ld-h8300
ld-i386 x86: Count PLT for GOTOFF relocation against IFUNC symbol 2021-06-19 20:21:04 -07:00
ld-ia64 Adjust readelf's output so that section symbols without a name as shown with their section name. 2021-04-21 10:34:32 +01:00
ld-ifunc
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k
ld-mep
ld-metag
ld-mips-elf Adjust readelf's output so that section symbols without a name as shown with their section name. 2021-04-21 10:34:32 +01:00
ld-misc
ld-mmix Adjust readelf's output so that section symbols without a name as shown with their section name. 2021-04-21 10:34:32 +01:00
ld-mn10300
ld-msp430-elf
ld-nds32
ld-nios2
ld-or1k or1k: Support large plt_relocs when generating plt entries 2021-05-06 20:51:25 +09:00
ld-pdp11
ld-pe x86-64/PE: adjust PR ld/26659 testcase for Cygwin 2021-04-22 10:55:07 +02:00
ld-pie readelf: report DF_1_PIE as "Position-Independent Executable" 2021-06-15 13:24:57 +09:30
ld-plugin
ld-powerpc PowerPC undefweak testcase 2021-05-05 10:35:31 +09:30
ld-pru
ld-riscv-elf RISC-V: PR27566, Do not relax when data segment phase is exp_seg_relro_adjust. 2021-05-31 11:29:26 +08:00
ld-s12z
ld-s390 Re: section symbols without a name 2021-05-03 12:42:03 +09:30
ld-scripts
ld-selective
ld-sh
ld-shared
ld-size
ld-sparc Fix the creation of archives for Sparc Solaris2 targets by eliminating the support for generic SPARC ELF files. 2021-06-09 11:10:16 +01:00
ld-spu
ld-srec
ld-tic6x Adjust readelf's output so that section symbols without a name as shown with their section name. 2021-04-21 10:34:32 +01:00
ld-tilegx
ld-tilepro
ld-undefined
ld-unique
ld-v850
ld-vax-elf
ld-visium
ld-vxworks
ld-x86-64 elf: Correct DT_TEXTREL warning in PDE 2021-06-19 16:33:35 -07:00
ld-xc16x
ld-xstormy16
ld-xtensa
ld-z8k
ld-z80
lib Enable linker garbage collection for the PRU target. 2021-05-10 14:00:00 +01:00
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-9303