binutils-gdb/ld/testsuite
H.J. Lu d9aee8d5f7 X86-64: Test external function reference without PLT
To call an external function, the direct branch to the PLT entry can be
replaced by an indirect branch via the GOT slot, which is similar to the
first instruction in the PLT slot.  Instead using the PLT slot as function
address, the function address is retrieved from the GOT slot.  If linker
determines the function is defined locally, it converts indirect branch
via the GOT slot to direct branch with a nop prefix and converts load via
the GOT slot to load immediate or lea,

	* testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
	* testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
	* testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
	* testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
	* testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
	* testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
	* testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
	* testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
	* testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
	* testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
	* testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
	* testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
	* testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
	* testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
	* testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
	* testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
	* testsuite/ld-x86-64/no-plt-check1.S: Likewise.
	* testsuite/ld-x86-64/no-plt.exp: Likewise.
	* testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
	* testsuite/ld-x86-64/no-plt-func1.c: Likewise.
	* testsuite/ld-x86-64/no-plt-main1.c: Likewise.
2016-06-08 05:57:18 -07:00
..
config Download source only on remote host 2016-04-29 06:52:55 -07:00
ld-aarch64 [AArch64] Also puts value in place for R_AARCH64_RELATIVE 2016-05-03 11:59:37 +01:00
ld-alpha
ld-arc
ld-arm Set dynamic tag VMA and size from dynamic section when possible 2016-05-13 14:34:45 +09:30
ld-auto-import
ld-avr
ld-bootstrap
ld-cdtest
ld-checks
ld-cris
ld-crx
ld-cygwin
ld-d10v
ld-discard
ld-elf ld/testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail 2016-06-07 16:05:49 +01:00
ld-elfcomm Skip ELF STT_COMMON linker tests if shared libraries are not supported. 2016-05-03 10:44:35 +01:00
ld-elfvers
ld-elfvsb Skip debug sections when estimating distances 2016-04-27 09:13:10 -07:00
ld-elfweak
ld-fastcall
ld-frv
ld-gc Fix some AVR test failures. 2016-05-04 13:03:52 +01:00
ld-h8300
ld-i386 Update x86 linker tests for --disable-x86-relax-relocations 2016-06-03 04:10:11 -07:00
ld-ia64
ld-ifunc Update x86 linker tests for --disable-x86-relax-relocations 2016-06-03 04:10:11 -07:00
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k
ld-mep
ld-metag
ld-mips-elf MIPS/BFD: Correctly handle `bfd_reloc_outofrange' with branches 2016-05-28 10:59:45 +01:00
ld-misc
ld-mmix
ld-mn10300
ld-nds32
ld-nios2
ld-pe
ld-pie
ld-plugin Skip an archive element if not added by linker 2016-05-25 08:41:05 -07:00
ld-powerpc PowerPC VLE 2016-06-07 22:04:38 +09:30
ld-s390 Fix PLT first entry GOT operand calculation. 2016-06-07 16:47:10 +02:00
ld-scripts Hack crossref tests for powerpc64 2016-05-19 14:07:06 +09:30
ld-selective Fix some AVR test failures. 2016-05-04 13:03:52 +01:00
ld-sh
ld-shared
ld-size
ld-sparc
ld-spu
ld-srec [ARC] Fixed-linker-related-testsuite-for-ARC 2016-05-19 15:06:51 +02:00
ld-tic6x
ld-tilegx
ld-tilepro
ld-undefined
ld-unique LD/ELF: Unify STB_GNU_UNIQUE handling 2016-05-17 12:21:40 +01:00
ld-v850
ld-vax-elf
ld-versados
ld-visium
ld-vxworks
ld-x86-64 X86-64: Test external function reference without PLT 2016-06-08 05:57:18 -07:00
ld-xc16x
ld-xstormy16
ld-xtensa
ld-z8k ld/testsuite/ld-z8k/test-ld.sh: Remove. Checked in by mistake. 2016-06-04 22:39:46 +02:00
lib [ARC] Fixed-linker-related-testsuite-for-ARC 2016-05-19 15:06:51 +02: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