diff options
author | Tamar Christina <tamar.christina@arm.com> | 2018-02-15 17:08:14 +0000 |
---|---|---|
committer | Tamar Christina <tamar.christina@arm.com> | 2018-02-15 17:09:07 +0000 |
commit | 49ded53def53ae60926433b924db9525aae1e631 (patch) | |
tree | 69351488e7acfa24395438ecc32ee213f1fb7d44 /gas/testsuite | |
parent | e513bd38a6b91401947d90ba5f301f01d3991b8e (diff) | |
download | gdb-49ded53def53ae60926433b924db9525aae1e631.zip gdb-49ded53def53ae60926433b924db9525aae1e631.tar.gz gdb-49ded53def53ae60926433b924db9525aae1e631.tar.bz2 |
Fix AArch32 build attributes for Armv8.4-A.
The build attribute number for Armv8.4-A is currently incorrectly set to that of Armv8-M.
This patch fixes that by setting it as part of the Armv8-A family and adds a test for it.
gas/
2018-02-15 Tamar Christina <tamar.christina@arm.com>
* config/tc-arm.c (cpu_arch_ver): Renumber ARM_ARCH_V8_4A.
* testsuite/gas/arm/attr-march-armv8_4-a.d: New.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/gas/arm/attr-march-armv8_4-a.d | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gas/testsuite/gas/arm/attr-march-armv8_4-a.d b/gas/testsuite/gas/arm/attr-march-armv8_4-a.d new file mode 100644 index 0000000..af3e52b --- /dev/null +++ b/gas/testsuite/gas/arm/attr-march-armv8_4-a.d @@ -0,0 +1,17 @@ +# name: attributes for -march=armv8.4-a +# source: blank.s +# as: -march=armv8.4-a +# readelf: -A +# This test is only valid on EABI based ports. +# target: *-*-*eabi* *-*-nacl* + +Attribute Section: aeabi +File Attributes + Tag_CPU_name: "8.4-A" + Tag_CPU_arch: v8 + Tag_CPU_arch_profile: Application + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-2 + Tag_Advanced_SIMD_arch: NEON for ARMv8.1 + Tag_MPextension_use: Allowed + Tag_Virtualization_use: TrustZone and Virtualization Extensions |