binutils-gdb/ld/testsuite
Nick Clifton 8a8a117123 Add generic tests for linker support of the -shared or -pie options to tests which use them.
binutils* testsuite/lib/binutils-common.exp (check_pie_support): New
	proc.

ld	* testsuite/ld-elf/compress1c.d: XFAIL if thet target linker does
	not support the -shared command line option.
	* /ld-elf/compressed1c.d: Likewise.
	* /ld-elf/compressed1e.d: Likewise.
	* /ld-elf/dynamic1.d: Likewise.
	* /ld-elf/dynsym1.d: Likewise.
	* /ld-elf/ehdr_start-shared.d: Likewise.
	* /ld-elf/exclude3b.d: Likewise.
	* /ld-elf/global1.d: Likewise.
	* /ld-elf/hash.d: Likewise.
	* /ld-elf/local1.d: Likewise.
	* /ld-elf/mbind1b.d: Likewise.
	* /ld-elf/now-1.d: Likewise.
	* /ld-elf/now-2.d: Likewise.
	* /ld-elf/now-3.d: Likewise.
	* /ld-elf/now-4.d: Likewise.
	* /ld-elf/pr12975.d: Likewise.
	* /ld-elf/pr13177.d: Likewise.
	* /ld-elf/pr13195.d: Likewise.
	* /ld-elf/pr16322.d: Likewise.
	* /ld-elf/pr16498a.d: Likewise.
	* /ld-elf/pr16498b.d: Likewise.
	* /ld-elf/pr17615.d: Likewise.
	* /ld-elf/pr19162.d: Likewise.
	* /ld-elf/pr19698.d: Likewise.
	* /ld-elf/pr20513c.d: Likewise.
	* /ld-elf/pr20513d.d: Likewise.
	* /ld-elf/pr21389a.d: Likewise.
	* /ld-elf/pr21389b.d: Likewise.
	* /ld-elf/pr21389c.d: Likewise.
	* /ld-elf/pr21562a.d: Likewise.
	* /ld-elf/pr21562b.d: Likewise.
	* /ld-elf/pr21562c.d: Likewise.
	* /ld-elf/pr21562d.d: Likewise.
	* /ld-elf/pr21562e.d: Likewise.
	* /ld-elf/pr21562f.d: Likewise.
	* /ld-elf/pr21562g.d: Likewise.
	* /ld-elf/pr21562h.d: Likewise.
	* /ld-elf/pr21562i.d: Likewise.
	* /ld-elf/pr21562j.d: Likewise.
	* /ld-elf/pr21562k.d: Likewise.
	* /ld-elf/pr21562l.d: Likewise.
	* /ld-elf/pr21562m.d: Likewise.
	* /ld-elf/pr21562n.d: Likewise.
	* /ld-elf/pr21903a.d: Likewise.
	* /ld-elf/pr21903b.d: Likewise.
	* /ld-elf/pr22269b.d: Likewise.
	* /ld-elf/pr22393-1a.d: Likewise.
	* /ld-elf/pr22393-1b.d: Likewise.
	* /ld-elf/pr23658-1c.d: Likewise.
	* /ld-elf/pr25708.d: Likewise.
	* /ld-elf/rpath-1.d: Likewise.
	* /ld-elf/rpath-2.d: Likewise.
	* /ld-elf/runpath-1.d: Likewise.
	* /ld-elf/runpath-2.d: Likewise.
	* /ld-elf/sizeofb.d: Likewise.
	* /ld-elf/startofb.d: Likewise.
	* /ld-elf/strtab.d: Likewise.
	* /ld-elf/textaddr2.d: Likewise.
	* /ld-elf/textaddr5.d: Likewise.
	* /ld-elf/textaddr6.d: Likewise.
	* /ld-elf/unknown2.d: Likewise.
	* /ld-undefined/entry-3.d: Likewise.
	* /ld-undefined/entry-4.d: Likewise.
	* /ld-elf/mbind1c.d: XFAIL if the target linker does not support
	the -pie option.
	* /ld-elf/pie.d: Likewise.
	* /ld-elf/pr19539.d: Likewise.
	* /ld-elf/pr21903d.d: Likewise.
	* /ld-elf/pr22269a.d: Likewise.
	* /ld-elf/pr22393-1c.d: Likewise.
	* /ld-elf/pr22393-1d.d: Likewise.
	* /ld-elf/pr22423.d: Likewise.
	* /ld-elf/loadaddr1.d: Expect to fail on the rx-linux target.
	* /ld-elf/loadaddr2.d: Likewise.
	* /ld-elf/pr22393-1e.d: Likewise.
	* /ld-elf/pr22393-1f.d: Likewise.
	* /ld-elf/textaddr1.d: Likewise.
	* /ld-elf/textaddr4.d: Likewise.
2020-04-30 13:49:30 +01:00
..
config Commit: Running the linker testsuite with clang 2020-04-17 13:03:53 +01:00
ld-aarch64
ld-alpha elf: Strip zero-sized dynamic sections 2020-04-21 05:24:03 -07:00
ld-arc
ld-arm readelf: Consolidate --syms --use-dynamic with --dyn-syms 2020-04-14 05:00:34 -07:00
ld-auto-import
ld-avr
ld-bootstrap
ld-bpf
ld-cdtest
ld-checks
ld-cris PR25593, --as-needed breaks DT_NEEDED order with linker plugin 2020-02-26 10:37:25 +10:30
ld-crx
ld-csky
ld-cygwin
ld-d10v
ld-discard
ld-elf Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
ld-elfcomm
ld-elfvers Commit: Running the linker testsuite with clang 2020-04-17 13:03:53 +01:00
ld-elfvsb readelf: Consolidate --syms --use-dynamic with --dyn-syms 2020-04-14 05:00:34 -07:00
ld-elfweak
ld-fastcall
ld-frv
ld-gc
ld-h8300 h8300-linux ld testsuite 2020-03-25 14:51:41 +10:30
ld-i386 ELF: Add support for unique section ID to assembler 2020-02-02 17:08:01 -08:00
ld-ia64
ld-ifunc ld: Disable ifunc tests on Solaris 2020-04-02 10:52:57 +02:00
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k
ld-mep
ld-metag
ld-mips-elf readelf: Consolidate --syms --use-dynamic with --dyn-syms 2020-04-14 05:00:34 -07:00
ld-misc Fix linker tests to work with 16-bit targets. 2020-04-21 15:10:52 +01:00
ld-mmix mmix-mmo set SEC_DATA for .data section 2020-02-28 08:19:42 +10:30
ld-mn10300
ld-msp430-elf
ld-nds32
ld-nios2
ld-or1k
ld-pdp11 Fixes for the magic number used in PDP11 AOUT binaries. 2020-04-14 14:41:27 +01:00
ld-pe
ld-pie
ld-plugin plugin: Don't invoke LTO-wrapper 2020-03-20 03:55:30 -07:00
ld-powerpc PowerPC64: remove empty .rela.dyn (.rela.branch_lt) 2020-04-20 08:14:42 +09:30
ld-pru
ld-riscv-elf
ld-s12z
ld-s390
ld-scripts Correct mingw target select 2020-04-22 21:14:36 +09:30
ld-selective
ld-sh
ld-shared ld: xfail several shared (non PIC) tests on Solaris 2020-04-10 11:18:10 +02:00
ld-size
ld-sparc
ld-spu
ld-srec ld: Add NOCF_PROTECTION_CFLAGS to turn off -fcf-protection 2020-04-02 07:12:45 -07:00
ld-tic6x
ld-tilegx
ld-tilepro
ld-undefined Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
ld-unique unique.exp: Update contains_unique_symbol 2020-02-07 12:03:40 -08:00
ld-v850
ld-vax-elf
ld-visium
ld-vxworks
ld-x86-64 ld: Add NOCF_PROTECTION_CFLAGS to turn off -fcf-protection 2020-04-02 07:12:45 -07:00
ld-xc16x
ld-xstormy16
ld-xtensa xtensa: fix XTENSA_NDIFF handling for PR ld/25861 2020-04-29 18:34:23 -07:00
ld-z8k
ld-z80 Various fixes for the Z80 support. 2020-02-19 17:46:10 +00:00
lib Use GCC LTO wrapper to get real symbols from LTO IR objects 2020-02-10 19:01:53 -08: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