GAS, ARM: 'str.w' instruction crashes

Jens Bauer jens@plustv.dk
Sun May 26 13:46:00 GMT 2013


Hi Will and Sebastian.

On Sun, 26 May 2013 13:01:46 +0100, Will Newton wrote:
> On 26 May 2013 12:14, Sebastian Huber <sebastian.huber@embedded-brains.de> wrote:
>>> 
>>> ...Is the str.w r6,[pc,#164] instruction generated correctly (I can't find the opcode documentation anywhere) ?
>> 
>> It is documented in the ARM Architecture Reference Manual.

This manual helps a lot, thanks! :)

>>> ...If it is, does anyone know why it would crash ?
>> 
>> This instruction is UNDEFINED for Rn == '1111' (which is R15 or PC) in the T2 encoding for ARMv7.

Now it makes sense. =)

>> Should complain about this?
> 
> I believe this is fixed (i.e. it prints an error) with the HEAD version of gas.

Excellent. Thank you both! :)


Love
Jens



More information about the Binutils mailing list