aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2013-10-14 00:42:28 +0000
committerSandra Loosemore <sandra@codesourcery.com>2013-10-14 00:42:28 +0000
commitae335a4e267b7836b250fe6872a9234ff77241b4 (patch)
treed0b43f96257f7fb511d812ccf72de3cb63e1f493 /gas/config
parent158efad315f4aee94f9ad238af11a033fbc24311 (diff)
downloadgdb-ae335a4e267b7836b250fe6872a9234ff77241b4.zip
gdb-ae335a4e267b7836b250fe6872a9234ff77241b4.tar.gz
gdb-ae335a4e267b7836b250fe6872a9234ff77241b4.tar.bz2
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 659bbbc..08b7aec 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':