summaryrefslogtreecommitdiff
path: root/ld/emultempl/ia64elf.em
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2007-07-19 19:56:10 +0000
committerRoland McGrath <roland@gnu.org>2007-07-19 19:56:10 +0000
commitef747617d69d47411c37b76f9b39d2236508000b (patch)
treed44c60ac5d1993bd3ed6d96b041ad92200091818 /ld/emultempl/ia64elf.em
parent5aab282bce4320875daefa4ffd5a4c58ca4285ea (diff)
downloadbinutils-redhat-ef747617d69d47411c37b76f9b39d2236508000b.tar.gz
2007-07-19 Roland McGrath <roland@redhat.com>
* genscripts.sh (source_em, fragment): New sh functions. Truncate e${EMULATION_NAME}.c file before .em script fills it. Use source_em in place of . for the .em script. * emultempl/generic.em: Use fragment and source_em functions. * emultempl/aix.em: Likewise. * emultempl/alphaelf.em: Likewise. * emultempl/armcoff.em: Likewise. * emultempl/armelf.em: Likewise. * emultempl/avrelf.em: Likewise. * emultempl/beos.em: Likewise. * emultempl/cr16elf.em: Likewise. * emultempl/crxelf.em: Likewise. * emultempl/elf-generic.em: Likewise. * emultempl/elf32.em: Likewise. * emultempl/genelf.em: Likewise. * emultempl/gld960.em: Likewise. * emultempl/gld960c.em: Likewise. * emultempl/hppaelf.em: Likewise. * emultempl/ia64elf.em: Likewise. * emultempl/irix.em: Likewise. * emultempl/linux.em: Likewise. * emultempl/lnk960.em: Likewise. * emultempl/m68hc1xelf.em: Likewise. * emultempl/m68kcoff.em: Likewise. * emultempl/m68kelf.em: Likewise. * emultempl/mipsecoff.em: Likewise. * emultempl/mipself.em: Likewise. * emultempl/mmix-elfnmmo.em: Likewise. * emultempl/mmixelf.em: Likewise. * emultempl/mmo.em: Likewise. * emultempl/needrelax.em: Likewise. * emultempl/netbsd.em: Likewise. * emultempl/pe.em: Likewise. * emultempl/pep.em: Likewise. * emultempl/ppc32elf.em: Likewise. * emultempl/ppc64elf.em: Likewise. * emultempl/scoreelf.em: Likewise. * emultempl/sh64elf.em: Likewise. * emultempl/spuelf.em: Likewise. * emultempl/sunos.em: Likewise. * emultempl/ticoff.em: Likewise. * emultempl/vanilla.em: Likewise. * emultempl/vxworks.em: Likewise. * emultempl/xtensaelf.em: Likewise. * emultempl/z80.em: Likewise.
Diffstat (limited to 'ld/emultempl/ia64elf.em')
-rw-r--r--ld/emultempl/ia64elf.em4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/emultempl/ia64elf.em b/ld/emultempl/ia64elf.em
index 828560efc4..d562417607 100644
--- a/ld/emultempl/ia64elf.em
+++ b/ld/emultempl/ia64elf.em
@@ -25,7 +25,7 @@
# Define some shell vars to insert bits of code into the standard elf
# parse_args and list_options functions.
#
-cat >>e${EMULATION_NAME}.c <<EOF
+fragment <<EOF
/* None zero if generating binary for Intel Itanium processor. */
static int itanium = 0;
@@ -60,4 +60,4 @@ PARSE_AND_LIST_ARGS_CASES='
'
LDEMUL_AFTER_PARSE=gld${EMULATION_NAME}_after_parse
-. ${srcdir}/emultempl/needrelax.em
+source_em ${srcdir}/emultempl/needrelax.em