diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-mips.c | 10 |
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")); |