1 cat >ld__${EMULATION_NAME}.c <<EOF
2 /* A vanilla emulation with no defaults
3 Copyright (C) 1991 Free Software Foundation, Inc.
4 Written by Steve Chamberlain steve@cygnus.com
6 This file is part of GLD, the Gnu Linker.
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
32 extern boolean lang_float_flag;
35 extern enum bfd_architecture ldfile_output_architecture;
36 extern unsigned long ldfile_output_machine;
37 extern char *ldfile_output_machine_name;
39 extern bfd *output_bfd;
43 static void vanilla_before_parse()
48 vanilla_set_output_arch()
50 /* Set the output architecture and machine if possible */
51 unsigned long machine = 0;
52 bfd_set_arch_mach(output_bfd, ldfile_output_architecture, machine);
55 static char *vanilla_get_script()
60 struct ld_emulation_xfer_struct ld_vanilla_emulation =
66 after_allocation_default,
67 vanilla_set_output_arch,
68 ldemul_default_target,
69 before_allocation_default,