2007-05-16 Paul Brook <paul@codesourcery.com>

* config/tc-arm.c (v7m_psrs): Add uppercase PSR names and xpsr.
This commit is contained in:
Paul Brook
2007-05-16 21:06:54 +00:00
parent 3ecf0694a8
commit 2b744c99f2
2 changed files with 19 additions and 14 deletions

View File

@ -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> 2007-05-15 Mark Shinwell <shinwell@codesourcery.com>
* app.c (do_scrub_chars): Don't damage \@ pseudo-variables. * app.c (do_scrub_chars): Don't damage \@ pseudo-variables.

View File

@ -14499,20 +14499,21 @@ static const struct asm_psr psrs[] =
/* Table of V7M psr names. */ /* Table of V7M psr names. */
static const struct asm_psr v7m_psrs[] = static const struct asm_psr v7m_psrs[] =
{ {
{"apsr", 0 }, {"apsr", 0 }, {"APSR", 0 },
{"iapsr", 1 }, {"iapsr", 1 }, {"IAPSR", 1 },
{"eapsr", 2 }, {"eapsr", 2 }, {"EAPSR", 2 },
{"psr", 3 }, {"psr", 3 }, {"PSR", 3 },
{"ipsr", 5 }, {"xpsr", 3 }, {"XPSR", 3 }, {"xPSR", 3 },
{"epsr", 6 }, {"ipsr", 5 }, {"IPSR", 5 },
{"iepsr", 7 }, {"epsr", 6 }, {"EPSR", 6 },
{"msp", 8 }, {"iepsr", 7 }, {"IEPSR", 7 },
{"psp", 9 }, {"msp", 8 }, {"MSP", 8 },
{"primask", 16}, {"psp", 9 }, {"PSP", 9 },
{"basepri", 17}, {"primask", 16}, {"PRIMASK", 16},
{"basepri_max", 18}, {"basepri", 17}, {"BASEPRI", 17},
{"faultmask", 19}, {"basepri_max", 18}, {"BASEPRI_MAX", 18},
{"control", 20} {"faultmask", 19}, {"FAULTMASK", 19},
{"control", 20}, {"CONTROL", 20}
}; };
/* Table of all shift-in-operand names. */ /* Table of all shift-in-operand names. */