summaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2013-10-14 00:42:27 +0000
committerSandra Loosemore <sandra@codesourcery.com>2013-10-14 00:42:27 +0000
commitfae3d62730d80769717ce6bee015d752ff59e4f0 (patch)
tree21b4022a62c2ce9fb68582bc84f23a449b9a7227 /gas/config
parent52f99884e38fd85be3d25454d9f08a60ab1cc98e (diff)
downloadbinutils-redhat-fae3d62730d80769717ce6bee015d752ff59e4f0.tar.gz
2013-10-13 Sandra Loosemore <sandra@codesourcery.com>
opcodes/ * nios2-opc.c (nios2_builtin_reg): Use "sstatus" rather than "ba" as the primary name of r30. gas/ * config/tc-nios2.c (nios2_consume_arg): Make the "ba" warning also test/refer to "sstatus". Reformat the warning message. gas/testsuite/ * gas/nios2/warn_nobreak.l: Update text of warning messages. * gas/nios2/registers.s: Use "sstatus" rather than "ba" as the primary name of r30. * gas/nios2/registers.d: Likewise.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-nios2.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/gas/config/tc-nios2.c b/gas/config/tc-nios2.c
index 659bbbc8ec..08b7aecec8 100644
--- a/gas/config/tc-nios2.c
+++ b/gas/config/tc-nios2.c
@@ -1951,15 +1951,17 @@ nios2_consume_arg (nios2_insn_infoS *insn, char *argstr, const char *parsestr)
/* And whether we are using oci registers. */
if (!nios2_as_options.nobreak
&& (regno == 25 || strprefix (argstr, "bt")))
- as_warn (_("The debugger will corrupt bt (r25). If you don't need to "
- "debug this\n"
- "code then use .set nobreak to turn off this warning."));
+ as_warn (_("The debugger will corrupt bt (r25).\n"
+ "If you don't need to debug this "
+ "code use .set nobreak to turn off this warning."));
if (!nios2_as_options.nobreak
- && (regno == 30 || strprefix (argstr, "ba")))
- as_warn (_("The debugger will corrupt ba (r30). If you don't need to "
- "debug this\n"
- "code then use .set nobreak to turn off this warning."));
+ && (regno == 30
+ || strprefix (argstr, "ba")
+ || strprefix (argstr, "sstatus")))
+ as_warn (_("The debugger will corrupt sstatus/ba (r30).\n"
+ "If you don't need to debug this "
+ "code use .set nobreak to turn off this warning."));
break;
case 'i':
case 'u':