[patch, arm] Correctly emit ARM and Thumb tags for unspecified target CPU
Richard Earnshaw
rearnsha@arm.com
Mon Dec 5 15:47:00 GMT 2011
When a target CPU has not been specified and we are assembling files
that contain only instructions that are extensions to the base
architecture (for example, in ARM state "bx lr") gas will fail to set
the attributes on the object file correctly.
Fixed as follows.
R.
gas:
2011-12-05 Richard Earnshaw <rearnsha@arm.com>
* tc-arm.c (aeabi_set_public_attributes): Correctly set
Tag_ARM_ISA_use and Tag_Thumb_ISA_use.
testsuite:
2011-12-05 Richard Earnshaw <rearnsha@arm.com>
* gas/arm/attr-any-armv4t.d: New test.
* gas/arm/attr-any-armv4t.s: New file.
* gas/arm/attr-any-thumbv6.d: New test.
* gas/arm/attr-any-thumbv6.s: New file.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gas-attr.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20111205/ac7bda52/attachment.ksh>
More information about the Binutils
mailing list