This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GAS, ARM: 'str.w' instruction crashes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]