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]

[patch, arm] Correctly emit ARM and Thumb tags for unspecified target CPU


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.

Attachment: gas-attr.patch
Description: Text document


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