aboutsummaryrefslogtreecommitdiff
path: root/ld/config.h
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-01-24 22:34:34 +0000
committerSteve Chamberlain <sac@cygnus>1992-01-24 22:34:34 +0000
commit2e2bf962db00b2e23a222687e4bc3c5971c645b7 (patch)
tree0eceb10d2d00f8f32ad14ea539129ee894d7f1e9 /ld/config.h
parent2cbe4c5f9e97dff6786352e1867c3c6afd383258 (diff)
downloadgdb-2e2bf962db00b2e23a222687e4bc3c5971c645b7.zip
gdb-2e2bf962db00b2e23a222687e4bc3c5971c645b7.tar.gz
gdb-2e2bf962db00b2e23a222687e4bc3c5971c645b7.tar.bz2
* Makefile.in: added relax, also made three stage go through a
partial link stage. * relax.c : added * config.h: if GNU960 defined, then default emulation mode is GLD960 * ldexp.h, ldexp.c: map to file hooks * ldlang.c: map to file hooks * ldgram.y: added -Map -relax * ldlex.l: added -relax, -Map * ldmain.c: open map file * ldmisc.c: support for map file * ldwrite.c: new relax magic
Diffstat (limited to 'ld/config.h')
-rw-r--r--ld/config.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/ld/config.h b/ld/config.h
index 50cc3ca..b128156 100644
--- a/ld/config.h
+++ b/ld/config.h
@@ -33,8 +33,15 @@
#define EBMON29K_EMULATION_NAME "ebmon29k"
#define GLDI386AOUT_EMULATION_NAME "gldi386aout"
/* Otherwise default to this emulation */
+/* 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 */
-#define DEFAULT_EMULATION LNK960_EMULATION_NAME
/* Look in this variable for a target format */