aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mips.c
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2002-02-19 22:59:30 +0000
committerThiemo Seufer <ths@networkno.de>2002-02-19 22:59:30 +0000
commitda0e507f3d2138e56239044ba428299e19483ef6 (patch)
treea5bdb08079afd66acdbc898843f9d8839b1f3c9f /gas/config/tc-mips.c
parent59ea9fe7b61c424fc1e45039a6c3a9af0966965b (diff)
downloadgdb-da0e507f3d2138e56239044ba428299e19483ef6.zip
gdb-da0e507f3d2138e56239044ba428299e19483ef6.tar.gz
gdb-da0e507f3d2138e56239044ba428299e19483ef6.tar.bz2
* config/tc-mips.c (md_parse_option): Complain about invalid -mabi
option input.
Diffstat (limited to 'gas/config/tc-mips.c')
-rw-r--r--gas/config/tc-mips.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 095c466..99e5266 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 */