aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2007-05-16 21:06:54 +0000
committerPaul Brook <paul@codesourcery.com>2007-05-16 21:06:54 +0000
commit2b744c99f25c0f7d86a341effddbbb011ad5b39c (patch)
tree580cf337db23b12a44f3cdebdf90806f18b5e49f
parent3ecf0694a8cd6e20cb4b1c24b425a7b0e1c7968e (diff)
downloadgdb-2b744c99f25c0f7d86a341effddbbb011ad5b39c.zip
gdb-2b744c99f25c0f7d86a341effddbbb011ad5b39c.tar.gz
gdb-2b744c99f25c0f7d86a341effddbbb011ad5b39c.tar.bz2
2007-05-16 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (v7m_psrs): Add uppercase PSR names and xpsr.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-arm.c29
2 files changed, 19 insertions, 14 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 85bbe26..c82d1a7 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2007-05-16 Paul Brook <paul@codesourcery.com>
+
+ * config/tc-arm.c (v7m_psrs): Add uppercase PSR names and xpsr.
+
2007-05-15 Mark Shinwell <shinwell@codesourcery.com>
* app.c (do_scrub_chars): Don't damage \@ pseudo-variables.
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index b558507..2a9c7ab 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -14499,20 +14499,21 @@ static const struct asm_psr psrs[] =
/* Table of V7M psr names. */
static const struct asm_psr v7m_psrs[] =
{
- {"apsr", 0 },
- {"iapsr", 1 },
- {"eapsr", 2 },
- {"psr", 3 },
- {"ipsr", 5 },
- {"epsr", 6 },
- {"iepsr", 7 },
- {"msp", 8 },
- {"psp", 9 },
- {"primask", 16},
- {"basepri", 17},
- {"basepri_max", 18},
- {"faultmask", 19},
- {"control", 20}
+ {"apsr", 0 }, {"APSR", 0 },
+ {"iapsr", 1 }, {"IAPSR", 1 },
+ {"eapsr", 2 }, {"EAPSR", 2 },
+ {"psr", 3 }, {"PSR", 3 },
+ {"xpsr", 3 }, {"XPSR", 3 }, {"xPSR", 3 },
+ {"ipsr", 5 }, {"IPSR", 5 },
+ {"epsr", 6 }, {"EPSR", 6 },
+ {"iepsr", 7 }, {"IEPSR", 7 },
+ {"msp", 8 }, {"MSP", 8 },
+ {"psp", 9 }, {"PSP", 9 },
+ {"primask", 16}, {"PRIMASK", 16},
+ {"basepri", 17}, {"BASEPRI", 17},
+ {"basepri_max", 18}, {"BASEPRI_MAX", 18},
+ {"faultmask", 19}, {"FAULTMASK", 19},
+ {"control", 20}, {"CONTROL", 20}
};
/* Table of all shift-in-operand names. */