[PATCH, ARM] Disallow all pc-relative str instructions in Thumb mode.

nick clifton nickc@redhat.com
Thu Mar 21 14:51:00 GMT 2013


Hi Will,

> gas/ChangeLog:
> 2013-03-18  Will Newton  <will.newton@linaro.org>
>
> 	* config/tc-arm.c (encode_thumb32_addr_mode): Emit an error for all
> 	pc-relative str instructions in Thumb mode.
>
> gas/testsuite/ChangeLog:
> 2013-03-18  Will Newton  <will.newton@linaro.org>
>
> 	* gas/arm/thumb2_relax.d: Strip out invalid pc-relative strs.
> 	* gas/arm/thumb2_relax.s: Likewise.
> 	* gas/arm/thumb32.d: Likewise.
> 	* gas/arm/thumb32.l: Likewise.
> 	* gas/arm/thumb32.s: Likewise.
> 	* gas/arm/thumb2_str-bad.d: New file.
> 	* gas/arm/thumb2_str-bad.l: Likewise.
> 	* gas/arm/thumb2_str-bad.s: Likewise.

Approved - please apply.

Cheers
   Nick




More information about the Binutils mailing list