From 31e0156210044a607b3647e44a960fff17ebf012 Mon Sep 17 00:00:00 2001 From: Thiemo Seufer Date: Thu, 21 Feb 2002 05:01:10 +0000 Subject: [PATCH] * config/tc-mips.c (md_parse_option): Complain about invalid -mabi option input. --- gas/ChangeLog | 5 +++++ gas/config/tc-mips.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 882f2685a18..6d22e26f5d5 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2002-02-21 Thiemo Seufer + + * config/tc-mips.c (md_parse_option): Complain about invalid -mabi + option input. + 2002-02-18 Daniel Jacobowitz * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh. 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 */ -- 2.47.2