MIPS/GAS: Unify messages in `mips_check_options'
gas/ * config/tc-mips.c (mips_check_options): Unify messages.
This commit is contained in:
parent
5f4678bb69
commit
1357373c1d
@ -1,3 +1,7 @@
|
||||
2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
|
||||
|
||||
* config/tc-mips.c (mips_check_options): Unify messages.
|
||||
|
||||
2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
|
||||
|
||||
* config/tc-mips.c (mips_check_options): Use `opts->isa'
|
||||
|
@ -3862,11 +3862,11 @@ mips_check_options (struct mips_set_options *opts, bfd_boolean abi_checks)
|
||||
as_bad (_("`nooddspreg` cannot be used with a 64-bit ABI"));
|
||||
|
||||
if (opts->micromips == 1 && opts->mips16 == 1)
|
||||
as_bad (_("`mips16' cannot be used with `micromips'"));
|
||||
as_bad (_("`%s' cannot be used with `%s'"), "mips16", "micromips");
|
||||
else if (ISA_IS_R6 (opts->isa)
|
||||
&& (opts->micromips == 1
|
||||
|| opts->mips16 == 1))
|
||||
as_fatal (_("`%s' can not be used with `%s'"),
|
||||
as_fatal (_("`%s' cannot be used with `%s'"),
|
||||
opts->micromips ? "micromips" : "mips16",
|
||||
mips_cpu_info_from_isa (opts->isa)->name);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user