old-cross-binutils/ld/testsuite
H.J. Lu 663fa5434e Don't enable new dtags by default with -rpath
ld/

2013-02-04  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/15096
	* emultempl/alphaelf.em (alpha_after_parse): Call
	gld${EMULATION_NAME}_after_parse instead of after_parse_default.
	* emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
	* emultempl/crxelf.em (crxelf_after_parse): Likewise.
	* emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
	* emultempl/mipself.em (mips_after_parse): Likewise.

	* emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
	to ...
	(gld_${EMULATION_NAME}_after_parse): This.  Call
	gld${EMULATION_NAME}_after_parse instead of after_parse_default.
	(LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.

	* emultempl/elf32.em (new_dtags_set): New variable.
	(gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
	here.
	(gld${EMULATION_NAME}_after_parse): New function.
	(ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
	with gld${EMULATION_NAME}_after_parse.
	(gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
	when setting link_info.new_dtags.

ld/testsuite/

2013-02-04  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/15096
	* ld-elf/new-dtags-1.d: New test.
	* ld-elf/new-dtags-2.d: Likewise.
	* ld-elf/new-dtags-3.d: Likewise.
	* ld-elf/new-dtags-4.d: Likewise.
	* ld-elf/new-dtags-5.d: Likewise.
	* ld-elf/new-dtags-6.d: Likewise.
	* ld-elf/new-dtags-7.d: Likewise.
	* ld-elf/new-dtags-8.d: Likewise.
2013-02-05 01:36:05 +00:00
..
config Add HOSTING_SCRT0 for PIE test 2013-01-19 19:36:37 +00:00
ld-aarch64 opcodes/ 2013-01-04 14:59:33 +00:00
ld-alpha
ld-arm oops accidentally omitted from previous delta 2012-10-31 08:42:11 +00:00
ld-auto-import
ld-bootstrap
ld-cdtest
ld-checks
ld-cris * ld-cris/libdso-13.d: Adjust for --enable-new-dtags now 2013-01-31 09:55:23 +00:00
ld-crx
ld-cygwin
ld-d10v
ld-discard
ld-elf Don't enable new dtags by default with -rpath 2013-02-05 01:36:05 +00:00
ld-elfcomm
ld-elfvers Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
ld-elfvsb Remove address check if HIDDEN_UNDEF_TEST is defined 2012-10-25 03:59:37 +00:00
ld-elfweak
ld-fastcall
ld-frv
ld-gc * common.h: Fix case of "Meta". 2013-01-10 09:49:22 +00:00
ld-h8300
ld-i386 ld/testsuite/ 2013-01-08 10:24:46 +00:00
ld-ia64
ld-ifunc Properly adjust h->plt.refcount 2012-12-21 18:15:22 +00:00
ld-libs
ld-linkonce
ld-m68hc11 2012-11-07 James Murray <jsm@jsm-net.demon.co.uk> 2012-11-07 20:35:02 +00:00
ld-m68k
ld-mep
ld-metag oops - omitted from previous delta 2013-01-11 09:53:22 +00:00
ld-mips-elf * ld-mips-elf/attr-gnu-4-45.d: Add missing "readelf" keyword. 2012-12-03 16:26:30 +00:00
ld-misc
ld-mmix * ld-mmix/sec-1.d, ld-mmix/sec-3.d: Force end-of-section symbols 2012-09-09 16:31:12 +00:00
ld-mn10300
ld-pe
ld-pie
ld-plugin * ld-plugin/lto.exp (lto-9.o, pr13229.o): Pass -finline. 2013-01-16 08:14:35 +00:00
ld-powerpc bfd/ 2013-01-31 06:28:48 +00:00
ld-s390
ld-scripts * ld-scripts/pr14962.d: Don't run for mmix-knuth-mmixware. Add 2012-12-30 20:15:07 +00:00
ld-selective
ld-sh bfd/ 2012-10-23 09:33:56 +00:00
ld-shared Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
ld-size * ld-size/size.exp (build_tests <size-7, size-8>): Pass 2013-01-21 02:38:37 +00:00
ld-sparc
ld-spu
ld-srec Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
ld-tic6x Add copyright notices 2012-12-17 16:56:12 +00:00
ld-tilegx
ld-tilepro
ld-undefined
ld-unique
ld-v850
ld-vax-elf bfd/ 2012-08-05 22:45:20 +00:00
ld-versados
ld-vxworks
ld-x86-64 Don't optimize relocation against _DYNAMIC 2012-09-01 02:50:14 +00:00
ld-xc16x
ld-xstormy16
ld-xtensa
lib Add HOSTING_SCRT0 for PIE test 2013-01-19 19:36:37 +00:00
ChangeLog Don't enable new dtags by default with -rpath 2013-02-05 01:36:05 +00:00
ChangeLog-2004 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2005 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2006 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2007 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2008 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2009 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2010 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2011 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2012 Rotate binutils ChangeLog for 2013 2013-01-02 17:06:32 +00:00
ChangeLog-9303 Add copyright notices 2012-12-10 12:48:03 +00:00