# This shell script emits a C file. -*- C -*-
-# Copyright 2003, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2003-2014 Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
# 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;
{
link_info.relax_pass = 2;
bfd_elf${ELFSIZE}_ia64_after_parse (itanium);
+
+ after_parse_default ();
}
EOF
PARSE_AND_LIST_OPTIONS='
fprintf (file, _("\
- --itanium Generate code for Intel Itanium processor\n"
+ --itanium Generate code for Intel Itanium processor\n"
));
'
'
LDEMUL_AFTER_PARSE=gld${EMULATION_NAME}_after_parse
-. ${srcdir}/emultempl/needrelax.em
+source_em ${srcdir}/emultempl/needrelax.em