From: Thiemo Seufer Date: Tue, 19 Feb 2002 22:59:30 +0000 (+0000) Subject: * config/tc-mips.c (md_parse_option): Complain about invalid -mabi X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da0e507f3d2138e56239044ba428299e19483ef6;p=binutils-gdb.git * config/tc-mips.c (md_parse_option): Complain about invalid -mabi option input. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 6b45eb487e8..bac3fc10290 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2002-02-19 Thiemo Seufer + + * config/tc-mips.c (md_parse_option): Complain about invalid -mabi + option input. + 2002-02-19 Martin Schwidefsky * config/tc-s390.c (md_parse_option): Add switches -m31 and -m64. diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 095c466b95c..99e52667e08 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -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 */