]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[Patch ARM] Fix build attributes for armv8-a in case of assembler files that contain...
authorRamana Radhakrishnan <ramana.radhakrishnan@arm.com>
Thu, 17 Dec 2015 10:55:54 +0000 (10:55 +0000)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 24 Aug 2017 12:46:27 +0000 (09:46 -0300)
commit32923c60242dbc306486b50e0df0855be37103eb
treeb28e9d7d1eab6463625736c8fedbae52477ec545
parentfc5b1103bdedf74815c680b027bb8f83c6ef37ee
[Patch ARM] Fix build attributes for armv8-a in case of assembler files that contain no directives.

There is currently a problem in the way in which we produce
build attributes for simple assembler files that have armv8-a
instructions.

In these case we need to generate TAG_ISA_THUMB_Use to be Thumb-2
and set the architecture profile to be 'A' rather than not
setting architecture profile to be 'A' and setting TAG_ISA_THUMB_Use
to be Thumb-1.

This is a pre-requisite for any v8-m patches that have been posted.
arm-none-eabi gas testsuite run. no regressions.

2015-12-17  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

* gas/config/tc-arm.c (aeabi_set_public_attributes): Adjust
TAG_ARCH_profile for armv8-a.
* gas/testsuite/gas/arm/armv8a-automatic-hlt.d: New test.
* gas/testsuite/gas/arm/armv8a-automatic-hlt.s: New test.
* gas/testsuite/gas/arm/armv8a-automatic-lda.d: New test.
* gas/testsuite/gas/arm/armv8a-automatic-lda.s: New test.
gas/config/tc-arm.c
gas/testsuite/gas/arm/armv8a-automatic-hlt.d [new file with mode: 0644]
gas/testsuite/gas/arm/armv8a-automatic-hlt.s [new file with mode: 0644]
gas/testsuite/gas/arm/armv8a-automatic-lda.d [new file with mode: 0644]
gas/testsuite/gas/arm/armv8a-automatic-lda.s [new file with mode: 0644]
include/opcode/arm.h