[PATCH] Make ARM GAS accept valid STR instruction

Jie Zhang jie@codesourcery.com
Wed Aug 18 12:26:00 GMT 2010


`str r0,[pc,#4]' is a valid instruction although the use of PC is 
deprecated. But currently GAS rejects this instruction. This patch 
should fix it. Tested using GAS testsuite for arm-none-eabi target. Is 
it OK?


Regards,
-- 
Jie Zhang
CodeSourcery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gas-arm-allow-pc-in-str-addr.diff
Type: text/x-patch
Size: 4506 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20100818/cd66586d/attachment.bin>


More information about the Binutils mailing list