Commit | Line | Data |
---|---|---|
c074abee DHW |
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 | |
df9d12ef | 8 | it under the terms of the GNU Genexral Public License as published by |
2d1a2445 | 9 | the Free Software Foundation; either version 2, or (at your option) |
c074abee DHW |
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" | |
1418c83b | 25 | #define VANILLA_EMULATION_NAME "vanilla" |
a37cc0c0 | 26 | #define GLDM88KBCS_EMULATION_NAME "gldm88kbcs" |
7ca04d28 | 27 | #define GLD68K_EMULATION_NAME "gld68k" |
c074abee | 28 | #define GLD960_EMULATION_NAME "gld960" |
7bc4a0d7 | 29 | #define GLD29K_EMULATION_NAME "gld29k" |
e1e5fbfc | 30 | #define GLDNEWS_EMULATION_NAME "gldnews" |
c074abee | 31 | #define LNK960_EMULATION_NAME "lnk960" |
3e4c643d | 32 | #define H8300HDS_EMULATION_NAME "h8300hds" |
565a4c76 | 33 | #define EBMON29K_EMULATION_NAME "ebmon29k" |
e1352095 | 34 | #define GLDI386AOUT_EMULATION_NAME "gldi386aout" |
c074abee | 35 | /* Otherwise default to this emulation */ |
2e2bf962 SC |
36 | /* Otherwise default to this emulation */ |
37 | #ifndef DEFAULT_EMULATION | |
38 | #ifdef GNU960 | |
39 | #define DEFAULT_EMULATION GLD960_EMULATION_NAME | |
40 | #else | |
41 | #define DEFAULT_EMULATION GLD68K_EMULATION_NAME | |
42 | #endif | |
43 | #endif /* DEFAULT_EMULATION */ | |
c611e285 | 44 | |
c611e285 | 45 | |
c074abee DHW |
46 | |
47 | /* Look in this variable for a target format */ | |
48 | #define TARGET_ENVIRON "GNUTARGET" | |
49 | /* If not there then choose this */ | |
df9d12ef SC |
50 | #define GLD_TARGET "a.out-sunos-big" |
51 | #define GLD68K_TARGET "a.out-sunos-big" | |
c074abee | 52 | #define LNK960_TARGET "coff-Intel-big" |
c611e285 | 53 | #define LNK960_TARGET_LITTLE "coff-Intel-little" |
c074abee | 54 | #define GLD960_TARGET "b.out.big" |
df9d12ef | 55 | #define VANILLA_TARGET "a.out-sunos-big" |
a37cc0c0 | 56 | #define GLDM88KBCS_TARGET "m88kbcs" |
7bc4a0d7 | 57 | #define GLD29K_TARGET "coff-a29k-big" |
e1352095 | 58 | #define GLDI386AOUT_TARGET "a.out-i386" |
e1e5fbfc | 59 | #define GLDNEWS_TARGET "a.out-newsos3" |
cc5bda54 | 60 | #define H8300HDS_TARGET "coff-h8300" |
565a4c76 | 61 | #define EBMON29K_TARGET "coff-a29k-big" |
3e4c643d | 62 | |
e1e5fbfc | 63 | |
c074abee DHW |
64 | |
65 | ||
66 |