aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-06-12 23:59:15 +0000
committerStan Shebs <shebs@codesourcery.com>1994-06-12 23:59:15 +0000
commit9d5baff61bd82e3950a96941b03c97ca0c89a390 (patch)
treef0b08664fbd8a6dc6fcb91d14db7846a01e41d2a /ld
parentb06fe940ea06a07cf28489900f1dcdb8e9afeadc (diff)
downloadgdb-9d5baff61bd82e3950a96941b03c97ca0c89a390.zip
gdb-9d5baff61bd82e3950a96941b03c97ca0c89a390.tar.gz
gdb-9d5baff61bd82e3950a96941b03c97ca0c89a390.tar.bz2
Conditionalize on mips-idt-ecoff.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog.gm4
-rw-r--r--ld/mpw-xconfig.in20
2 files changed, 15 insertions, 9 deletions
diff --git a/ld/ChangeLog.gm b/ld/ChangeLog.gm
index a380b95..149b284 100644
--- a/ld/ChangeLog.gm
+++ b/ld/ChangeLog.gm
@@ -1,3 +1,7 @@
+Sun Jun 12 16:56:45 1994 Stan Shebs (shebs@andros.cygnus.com)
+
+ * mpw-xconfig.in: Only do if target is mips-idt-ecoff.
+
Mon Feb 28 11:09:48 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-xconfig.in (emulname): Define.
diff --git a/ld/mpw-xconfig.in b/ld/mpw-xconfig.in
index 99951ea..0ae73ca 100644
--- a/ld/mpw-xconfig.in
+++ b/ld/mpw-xconfig.in
@@ -1,14 +1,16 @@
# Extra configuration fragment for LD.
-echo '/* This file is automatically generated. DO NOT EDIT! */' >ldemul-list.h
-echo 'extern ld_emulation_xfer_type ld_mipsidt_emulation;' >>ldemul-list.h
-echo '#define EMULATION_LIST \' >>ldemul-list.h
-echo ' &ld_mipsidt_emulation, \' >>ldemul-list.h
-echo ' 0' >>ldemul-list.h
+If "{target_canonical}" =~ /mips-idt-ecoff/
+ echo '/* This file is automatically generated. DO NOT EDIT! */' >ldemul-list.h
+ echo 'extern ld_emulation_xfer_type ld_mipsidt_emulation;' >>ldemul-list.h
+ echo '#define EMULATION_LIST \' >>ldemul-list.h
+ echo ' &ld_mipsidt_emulation, \' >>ldemul-list.h
+ echo ' 0' >>ldemul-list.h
-forward-include "{srcdir}"mpw-em.c em_mipsidt.c
+ forward-include "{srcdir}"mpw-em.c em_mipsidt.c
-# Set the name of the default emulation - this will get pasted into
-# the Makefile.
+ # Set the name of the default emulation - this will get pasted into
+ # the Makefile.
-Set emulname mipsidt
+ Set emulname mipsidt
+End If