# This shell script emits a C file. -*- C -*-
# It does some substitutions.
-cat >em_${EMULATION_NAME}.c <<EOF
+cat >e${EMULATION_NAME}.c <<EOF
/* This file is is generated by a shell script. DO NOT EDIT! */
/* emulate the original gld for the given ${EMULATION_NAME}
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define TARGET_IS_${EMULATION_NAME}
#include "bfdlink.h"
#include "ld.h"
-#include "config.h"
#include "ldemul.h"
#include "ldfile.h"
#include "ldmisc.h"
$s/$/n"/
'
-cat >>em_${EMULATION_NAME}.c <<EOF
+cat >>e${EMULATION_NAME}.c <<EOF
{
*isfile = 0;
else
# Scripts read from the filesystem.
-cat >>em_${EMULATION_NAME}.c <<EOF
+cat >>e${EMULATION_NAME}.c <<EOF
{
*isfile = 1;
fi
-cat >>em_${EMULATION_NAME}.c <<EOF
+cat >>e${EMULATION_NAME}.c <<EOF
struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation =
{
syslib_default,
hll_default,
after_parse_default,
+ after_open_default,
after_allocation_default,
set_output_arch_default,
ldemul_default_target,