aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/obj-coff.h7
2 files changed, 5 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index bb99657..ada45b2 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2002-02-18 Daniel Jacobowitz <drow@mvista.com>
+
+ * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh.
+
2002-02-16 Nick Clifton <nickc@cambridge.redhat.com>
* doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used
diff --git a/gas/config/obj-coff.h b/gas/config/obj-coff.h
index 1a50359..8d2ae73 100644
--- a/gas/config/obj-coff.h
+++ b/gas/config/obj-coff.h
@@ -127,15 +127,10 @@
#define TARGET_FORMAT "pe-shl"
#else
-#if 0 /* FIXME: The "shl" varaible does not appear to exist. What happened to it ? */
#define TARGET_FORMAT \
- (shl \
+ (!target_big_endian \
? (sh_small ? "coff-shl-small" : "coff-shl") \
: (sh_small ? "coff-sh-small" : "coff-sh"))
-#else
-#define TARGET_FORMAT \
- (sh_small ? "coff-shl-small" : "coff-shl")
-#endif
#endif
#endif