This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed] MIPS/GAS: Unify messages in `mips_check_options'
- From: "Maciej W. Rozycki" <macro at imgtec dot com>
- To: <binutils at sourceware dot org>
- Date: Sat, 9 Apr 2016 13:30:13 +0100
- Subject: [committed] MIPS/GAS: Unify messages in `mips_check_options'
- Authentication-results: sourceware.org; auth=none
gas/
* config/tc-mips.c (mips_check_options): Unify messages.
---
I have committed this change.
Maciej
binutils-mips-gas-check-options-unify.diff
Index: binutils/gas/config/tc-mips.c
===================================================================
--- binutils.orig/gas/config/tc-mips.c 2016-04-06 02:15:22.657395187 +0100
+++ binutils/gas/config/tc-mips.c 2016-04-06 02:15:49.037171207 +0100
@@ -3862,11 +3862,11 @@ mips_check_options (struct mips_set_opti
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);