binutils-gdb/ld/testsuite
H.J. Lu 647e4d4649 ld: Add a linker configure option --enable-relro
Add a configure option --enable-relro to decide whether -z relro should
be enabled in ELF linker by default.  Default to yes for all Linux
targets, except FRV, HPPA, IA64 and MIPS, since many relro tests fail
on these targets.

	PR ld/20283
	* NEWS: Mention --enable-relro.
	* configure.ac: Add --enable-relro.
	(DEFAULT_LD_Z_RELRO): New.  Set by --enable-relro.
	* configure.tgt (ac_default_ld_z_relro): Default it to 1 for
	some Linux targets.
	* config.in: Regenerated.
	* configure: Likewise.
	* emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
	link_info.relro to DEFAULT_LD_Z_RELRO.
	* testsuite/config/default.exp (ld_elf_shared_opt): New.
	* testsuite/lib/ld-lib.exp (run_dump_test): Pass
	$ld_elf_shared_opt to ld for ELF targets with shared object
	support.
	(run_ld_link_tests): Likewise.
2016-06-22 05:37:38 -07:00
..
config ld: Add a linker configure option --enable-relro 2016-06-22 05:37:38 -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 Arc assembler: Convert nps400 from a machine type to an extension. 2016-06-21 14:03:08 +01:00
ld-arm Add support for Thumb-2 long branch veneers 2016-06-17 18:28:08 +01:00
ld-auto-import
ld-avr Fix PR ld/20254 2016-06-15 12:47:46 +05:30
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 Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
ld-ia64
ld-ifunc Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k
ld-mep
ld-metag
ld-mips-elf MIPS/BFD: Don't stop processing on a cross-mode jump conversion error 2016-06-21 14:18:23 +01:00
ld-misc
ld-mmix
ld-mn10300
ld-nds32
ld-nios2
ld-pe
ld-pie
ld-plugin Use the IR symbol table for the IR input object 2016-06-20 05:10:46 -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] XFAIL S-Records tests for both little and big endian ARC target. 2016-06-13 16:15:58 +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 Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -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 ld: Add a linker configure option --enable-relro 2016-06-22 05:37:38 -07: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