summaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-02-18 23:57:10 +0000
committerDaniel Jacobowitz <drow@false.org>2002-02-18 23:57:10 +0000
commita245a9aa26183575436133cd4aee62b251c4d104 (patch)
tree26e7fc58861338e4541c1f4647497b227ed1e994 /gas
parentadf14613950cab716a81c37ea85cef0e1cea1fe1 (diff)
downloadbinutils-gdb-a245a9aa26183575436133cd4aee62b251c4d104.tar.gz
2002-02-18 Daniel Jacobowitz <drow@mvista.com>
* config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh.
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 bb99657f7c7..ada45b23847 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 1a50359b3b5..8d2ae736ac9 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