aboutsummaryrefslogtreecommitdiff
path: root/opcodes/nios2-opc.c
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 /opcodes/nios2-opc.c
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 'opcodes/nios2-opc.c')
-rw-r--r--opcodes/nios2-opc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/nios2-opc.c b/opcodes/nios2-opc.c
index 83cf189..c0ec617 100644
--- a/opcodes/nios2-opc.c
+++ b/opcodes/nios2-opc.c
@@ -58,7 +58,7 @@ const struct nios2_reg nios2_builtin_regs[] = {
{"sp", 27}, /* stack pointer */
{"fp", 28}, /* frame pointer */
{"ea", 29}, /* exception return address */
- {"ba", 30}, /* breakpoint return address */
+ {"sstatus", 30}, /* saved processor status */
{"ra", 31}, /* return address */
/* Alternative names for special registers. */
@@ -71,7 +71,7 @@ const struct nios2_reg nios2_builtin_regs[] = {
{"r28", 28},
{"r29", 29},
{"r30", 30},
- {"sstatus", 30},
+ {"ba", 30}, /* breakpoint return address */
{"r31", 31},
/* Control register names. */