Fixed a few bugs, added 29k coff support.
[binutils-gdb.git] / ld / config.h
1 /* config.h -
2
3 Copyright (C) 1991 Free Software Foundation, Inc.
4
5 This file is part of GLD, the Gnu Linker.
6
7 GLD is free software; you can redistribute it and/or modify
8 it under the terms of the GNU Genexral Public License as published by
9 the Free Software Foundation; either version 1, or (at your option)
10 any later version.
11
12 GLD is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with GLD; see the file COPYING. If not, write to
19 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
20
21 /* Look in this environment name for the linker to pretend to be */
22 #define EMULATION_ENVIRON "LDEMULATION"
23 /* If in there look for the strings: */
24 #define GLD_EMULATION_NAME "gld"
25 #define VANILLA_EMULATION_NAME "vanilla"
26 #define GLDM88KBCS_EMULATION_NAME "gldm88kbcs"
27 #define GLD68K_EMULATION_NAME "gld68k"
28 #define GLD960_EMULATION_NAME "gld960"
29 #define GLD29K_EMULATION_NAME "gld29k"
30 #define LNK960_EMULATION_NAME "lnk960"
31 /* Otherwise default to this emulation */
32 #ifndef DEFAULT_EMULATION
33 #ifdef GNU960
34 #define DEFAULT_EMULATION GLD960_EMULATION_NAME
35 #else
36 #define DEFAULT_EMULATION GLD68K_EMULATION_NAME
37 #endif
38 #endif /* DEFAULT_EMULATION */
39
40 /* Look in this variable for a target format */
41 #define TARGET_ENVIRON "GNUTARGET"
42 /* If not there then choose this */
43 #define GLD_TARGET "a.out-sunos-big"
44 #define GLD68K_TARGET "a.out-sunos-big"
45 #define LNK960_TARGET "coff-Intel-big"
46 #define GLD960_TARGET "b.out.big"
47 #define VANILLA_TARGET "a.out-sunos-big"
48 #define GLDM88KBCS_TARGET "m88kbcs"
49 #define GLD29K_TARGET "coff-a29k-big"
50
51
52