aboutsummaryrefslogtreecommitdiff
path: root/ld/config.h
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1991-04-18 02:01:12 +0000
committerK. Richard Pixley <rich@cygnus>1991-04-18 02:01:12 +0000
commite7921bd4c50b93592c50ba9413c6598f42c7b1b2 (patch)
tree3a0288a126d78f270bc4a9b20eecddc36aae69af /ld/config.h
parent59e91936c536f210a515a061d2eb90d4840946c4 (diff)
downloadgdb-e7921bd4c50b93592c50ba9413c6598f42c7b1b2.zip
gdb-e7921bd4c50b93592c50ba9413c6598f42c7b1b2.tar.gz
gdb-e7921bd4c50b93592c50ba9413c6598f42c7b1b2.tar.bz2
Pulled host & target dependancies out of Makefile. allow more
flexibility in config.h.
Diffstat (limited to 'ld/config.h')
-rw-r--r--ld/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/config.h b/ld/config.h
index 43e205e..abb92b4 100644
--- a/ld/config.h
+++ b/ld/config.h
@@ -27,12 +27,13 @@
#define GLD960_EMULATION_NAME "gld960"
#define LNK960_EMULATION_NAME "lnk960"
/* Otherwise default to this emulation */
+#ifndef DEFAULT_EMULATION
#ifdef GNU960
#define DEFAULT_EMULATION GLD960_EMULATION_NAME
#else
#define DEFAULT_EMULATION GLD68K_EMULATION_NAME
#endif
-
+#endif /* DEFAULT_EMULATION */
/* Look in this variable for a target format */
#define TARGET_ENVIRON "GNUTARGET"