old-cross-binutils/ld/emultempl
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
..
aarch64elf.em ld/ 2012-11-26 23:26:35 +00:00
aix.em Remove trailing white spaces in ld 2013-01-10 20:08:03 +00:00
alphaelf.em Don't enable new dtags by default with -rpath 2013-02-05 01:36:05 +00:00
armcoff.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00
armelf.em ld/ 2012-11-26 23:26:35 +00:00
astring.sed * emultempl/ostring.sed: Rename from stringify.sed. 1999-08-06 22:46:03 +00:00
avrelf.em Remove trailing white spaces in ld 2013-01-10 20:08:03 +00:00
beos.em bfd/ 2012-08-06 22:27:52 +00:00
bfin.em blackfin: add support for L1 code/data flags 2010-11-16 03:33:07 +00:00
cr16elf.em Don't enable new dtags by default with -rpath 2013-02-05 01:36:05 +00:00
crxelf.em Don't enable new dtags by default with -rpath 2013-02-05 01:36:05 +00:00
elf-generic.em update copyright dates 2009-09-02 07:25:43 +00:00
elf32.em Don't enable new dtags by default with -rpath 2013-02-05 01:36:05 +00:00
epiphanyelf_4x4.em * scripttempl/epiphany_4x4.sc, emulparams/elf32epiphany_4x4.sh: Add. 2012-11-30 18:28:38 +00:00
genelf.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00
generic.em 2011-05-04 Tristan Gingold <gingold@adacore.com> 2011-05-04 08:31:04 +00:00
gld960.em include/ 2008-02-15 03:35:53 +00:00
gld960c.em 2007-07-19 Roland McGrath <roland@redhat.com> 2007-07-19 19:56:10 +00:00
hppaelf.em Don't enable new dtags by default with -rpath 2013-02-05 01:36:05 +00:00
ia64elf.em Don't enable new dtags by default with -rpath 2013-02-05 01:36:05 +00:00
irix.em update copyright dates 2009-09-02 07:25:43 +00:00
linux.em * ldlang.h (struct lang_input_statement_flags): New, extract from.. 2012-03-05 22:43:40 +00:00
lnk960.em ld/ 2012-06-15 15:13:41 +00:00
m68hc1xelf.em * bfd-in.h (bfd_get_section_name, bfd_get_section_vma, 2012-05-16 16:38:29 +00:00
m68kcoff.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00
m68kelf.em update copyright dates 2009-09-02 07:25:43 +00:00
metagelf.em * common.h: Fix case of "Meta". 2013-01-10 09:49:22 +00:00
mipsecoff.em update copyright dates 2009-09-02 07:25:43 +00:00
mipself.em Don't enable new dtags by default with -rpath 2013-02-05 01:36:05 +00:00
mmix-elfnmmo.em PR ld/10956 2009-11-26 13:45:25 +00:00
mmixelf.em ld/ 2012-11-26 23:26:35 +00:00
mmo.em * emultempl/mmo.em (mmo_place_orphan): Rewrite to also attach 2012-09-09 16:30:40 +00:00
needrelax.em PR ld/10956 2009-11-26 13:45:25 +00:00
netbsd.em include/ 2009-10-14 05:54:29 +00:00
ostring.sed * emultempl/ostring.sed: Rename from stringify.sed. 1999-08-06 22:46:03 +00:00
pe.em Remove trailing white spaces in ld 2013-01-10 20:08:03 +00:00
pep.em Remove trailing white spaces in ld 2013-01-10 20:08:03 +00:00
ppc32elf.em ld/ 2012-05-26 11:13:20 +00:00
ppc64elf.em ld/ 2012-05-26 11:13:20 +00:00
README Add copyright notices 2012-12-17 16:56:12 +00:00
rxelf.em 2012-11-09 Nick Clifton <nickc@redhat.com> 2012-11-09 17:00:44 +00:00
scoreelf.em ld/ 2012-11-26 23:26:35 +00:00
sh64elf.em PR ld/11384 2010-03-18 13:15:46 +00:00
solaris2.em Check if a symbol is hidden by linker script. 2011-09-16 01:15:20 +00:00
spu_icache.o_c bfd/ 2009-03-17 12:46:19 +00:00
spu_icache.S bfd/ 2009-03-17 12:46:19 +00:00
spu_ovl.o_c Include the spu_ovl ASCII form in the repository files. 2008-08-02 16:25:44 +00:00
spu_ovl.S bfd/ 2008-06-16 16:16:31 +00:00
spuelf.em Remove trailing white spaces in ld 2013-01-10 20:08:03 +00:00
sunos.em * ldlang.h (struct lang_input_statement_flags): New, extract from.. 2012-03-05 22:43:40 +00:00
tic6xdsbt.em Remove trailing white spaces in ld 2013-01-10 20:08:03 +00:00
ticoff.em update copyright dates 2009-09-02 07:25:43 +00:00
vanilla.em update copyright dates 2009-09-02 07:25:43 +00:00
vms.em Add support for PowerPC VLE. 2012-05-14 19:45:30 +00:00
vxworks.em PR 11107 2010-01-08 01:41:11 +00:00
xtensaelf.em bfd/ 2012-08-06 22:27:52 +00:00
z80.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

The files in this directory are sourced by genscripts.sh, after
setting some variables to substitute in, to produce
C source files that contain jump tables for each emulation.

Copyright (C) 2012 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.