[PATCH] arm: permit certain indexed loads and stores with PC base address

Richard Earnshaw rearnsha@arm.com
Wed Apr 10 12:30:00 GMT 2013


On 10/04/13 11:44, Jan Beulich wrote:
> As per the specification, use of PC there is valid.
>
> gas/
> 2013-04-10  Jan Beulich <jbeulich@suse.com>
>
> 	* gas/config/tc-arm.c (encode_arm_addr_mode_3): Only reject base
> 	register being PC when is_t or writeback, and use distinct
> 	diagnostic for the latter case.
>
> gas/testsuite/
> 2013-04-10  Jan Beulich <jbeulich@suse.com>
>
> 	* gas/testsuite/gas/arm/ldst-pc.s: Add index, non-writeback
> 	forms of various loads and stores with PC as base.
> 	* gas/testsuite/gas/arm/ldst-pc.d: Update accordingly.
>

OK.

R.




More information about the Binutils mailing list