* config/tc-mips.c (md_parse_option): Complain about invalid -mabi
authorThiemo Seufer <ths@networkno.de>
Tue, 19 Feb 2002 22:59:30 +0000 (22:59 +0000)
committerThiemo Seufer <ths@networkno.de>
Tue, 19 Feb 2002 22:59:30 +0000 (22:59 +0000)
option input.

gas/ChangeLog
gas/config/tc-mips.c

index 6b45eb487e88d54628d9280bb0eda4bfd49c2f9c..bac3fc102904ccfc4e9120ff72be462a5a7c0af5 100644 (file)
@@ -1,3 +1,8 @@
+2002-02-19  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (md_parse_option): Complain about invalid -mabi
+       option input.
+
 2002-02-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
 
        * config/tc-s390.c (md_parse_option): Add switches -m31 and -m64.
index 095c466b95c06346135f840cf641d35f4e250e2f..99e52667e08ba5115a9590d7bdb456e5e62d2d94 100644 (file)
@@ -10080,7 +10080,10 @@ md_parse_option (c, arg)
       else if (strcmp (arg, "eabi") == 0)
        mips_opts.abi = EABI_ABI;
       else
-       mips_opts.abi = NO_ABI;
+       {
+         as_fatal (_("invalid abi -mabi=%s"), arg);
+         return 0;
+       }
       break;
 #endif /* OBJ_ELF */