Port of patch to mainline by Nick Clifton <nickc@cygnus.com>:
* config/tc-arm.c (struct asm_psr): Add boolean field
distinguishing between CSPR and SPSR. Rename 'number' field
to 'field'.
(psrs): Rearrange contents to match new asm_psr structure.
(arm_psr_parse): Move next to psr_required_here. Make it
return an asm_psr structure.
(psr_required_here): Use asm_psr structure returned by
arm_psr_parse.
(do_msr): Reorganise to allow psr_required_here to be called
only once.
(md_undefined_name): Mark 'name' parameter as unused, since
the COFF target does not use it.
Port of patch to mainline by Nick Clifton <nickc@cygnus.com>:
* testsuite/gas/arm/arch4t.s: Add tests of new fields
to msr instruction.
* NEWS: Mention change in behaviour when assembling msr
instruction.