aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2001-08-21 00:59:48 +0000
committerThiemo Seufer <ths@networkno.de>2001-08-21 00:59:48 +0000
commita6bacc8047a87ce89059ea0c0b393a501419af17 (patch)
tree4d78a69b774c733cee8ccbf710615ed1e2f176c5 /gas
parent1c72f9b0c41ef5de822fce0d6faed9c69d40a589 (diff)
downloadgdb-a6bacc8047a87ce89059ea0c0b393a501419af17.zip
gdb-a6bacc8047a87ce89059ea0c0b393a501419af17.tar.gz
gdb-a6bacc8047a87ce89059ea0c0b393a501419af17.tar.bz2
* config/tc-mips.c (md_parse_option): #ifdef the
traditional/non-traditional names as it is done in mips_target_format.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-mips.c10
2 files changed, 12 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 1b7503a..526d5df 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * config/tc-mips.c (md_parse_option): #ifdef the
+ traditional/non-traditional names as it is done in mips_target_format.
+
2001-08-20 Richard Henderson <rth@redhat.com>
* config/tc-alpha.h (MD_APPLY_FIX3): Define.
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 01ece42..b666ed9 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -9206,10 +9206,14 @@ md_parse_option (c, arg)
list = bfd_target_list ();
for (l = list; *l != NULL; l++)
- if (strcmp (*l, "elf64-bigmips") == 0
- || strcmp (*l, "elf64-littlemips") == 0
- || strcmp (*l, "elf64-tradbigmips") == 0
+#ifdef TE_TMIPS
+ /* This is traditional mips */
+ if (strcmp (*l, "elf64-tradbigmips") == 0
|| strcmp (*l, "elf64-tradlittlemips") == 0)
+#else
+ if (strcmp (*l, "elf64-bigmips") == 0
+ || strcmp (*l, "elf64-littlemips") == 0)
+#endif
break;
if (*l == NULL)
as_fatal (_("No compiled in support for 64 bit object file format"));