On 12/05/2010 14:12, Jonathan Larmour wrote:
Spencer Oliver wrote:
cortex_m3: buildfix for binutils 2.20
when building using binutils 2.20:
- swi inst now requires an argument.
- msr psp,sp is not allowed.
I'll let Nick handle this patch, but I'm curious (and admittedly haven't
looked at the ISA details): it seems strange that msr psp,sp used to be
allowed but now is not - and presumably it worked on the hardware
otherwise it wouldn't have been in the port.
msr psp,sp used to be allowed, but the armv7m trm states it as undefined
behaviour - this seems to match what realview does.
Cheers
Spen