From a6bacc8047a87ce89059ea0c0b393a501419af17 Mon Sep 17 00:00:00 2001 From: Thiemo Seufer Date: Tue, 21 Aug 2001 00:59:48 +0000 Subject: [PATCH] * config/tc-mips.c (md_parse_option): #ifdef the traditional/non-traditional names as it is done in mips_target_format. --- gas/ChangeLog | 5 +++++ gas/config/tc-mips.c | 10 +++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 1b7503af200..526d5dff36a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2001-08-21 Thiemo Seufer + + * 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 * config/tc-alpha.h (MD_APPLY_FIX3): Define. diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 01ece421fcc..b666ed95d35 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")); -- 2.30.2