aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorDavid MacKenzie <djm@cygnus>1993-07-22 00:55:56 +0000
committerDavid MacKenzie <djm@cygnus>1993-07-22 00:55:56 +0000
commitd59e5a4707dd884f221c84f216a29eb222a6fd04 (patch)
treeebb7f9b8234a9475e7da39a4488bd4dd2d8887e8 /ld
parent86a6ada2fdabbac97f732a2512d791f1adbc3917 (diff)
downloadgdb-d59e5a4707dd884f221c84f216a29eb222a6fd04.zip
gdb-d59e5a4707dd884f221c84f216a29eb222a6fd04.tar.gz
gdb-d59e5a4707dd884f221c84f216a29eb222a6fd04.tar.bz2
move compile-in decision to genscripts.sh
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog7
-rw-r--r--ld/emultempl/hppaosf.em2
-rw-r--r--ld/emultempl/m88kbcs.em2
3 files changed, 8 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index a61929d..07252e9 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,10 +1,15 @@
Wed Jul 21 14:28:42 1993 David J. Mackenzie (djm@thepub.cygnus.com)
+ * genscripts.sh: If this is the default emulation, set
+ COMPILE_IN.
+ * emultempl/*.em: Use it to determine whether to compile in the
+ scripts.
+
* Makefile.in (GENSCRIPTS): Pass the default emulation name to
genscripts.sh. Pass the current emulation name without ".sh" on
the end.
* genscripts.sh: Take an default emulation arg.
- Use the emulparams file name as EMULATION_NAME.
+ Use the current emulation name as EMULATION_NAME.
Make default lib path for cross-compiling ':', not null.
* emulparams/*.sh: Don't set EMULATION_NAME.
* ldemul.c (ldemul_get_script): Take isfile arg.
diff --git a/ld/emultempl/hppaosf.em b/ld/emultempl/hppaosf.em
index d08951d..91ddd36 100644
--- a/ld/emultempl/hppaosf.em
+++ b/ld/emultempl/hppaosf.em
@@ -86,7 +86,7 @@ hppaosf_get_script(isfile)
int *isfile;
EOF
-if test "$DEFAULT_EMULATION" = "$EMULATION_NAME"
+if test -n "$COMPILE_IN"
then
# Scripts compiled in.
diff --git a/ld/emultempl/m88kbcs.em b/ld/emultempl/m88kbcs.em
index 52682e6..a1add23 100644
--- a/ld/emultempl/m88kbcs.em
+++ b/ld/emultempl/m88kbcs.em
@@ -53,7 +53,7 @@ gld${EMULATION_NAME}_get_script(isfile)
int *isfile;
EOF
-if test "$DEFAULT_EMULATION" = "$EMULATION_NAME"
+if test -n "$COMPILE_IN"
then
# Scripts compiled in.