aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Earnshaw <Richard.Earnshaw@arm.com>2017-03-20 10:03:15 +0000
committerRichard Earnshaw <Richard.Earnshaw@arm.com>2017-03-20 10:03:15 +0000
commitd3375ddde4011242ef576083459fc51d0ddc53c8 (patch)
treebb6a1c30ea99f3d528e80ec0e69c338bbd23ab72
parent5c62b69b91e13c6b9c126480680cff836c0b282d (diff)
downloadgdb-d3375ddde4011242ef576083459fc51d0ddc53c8.zip
gdb-d3375ddde4011242ef576083459fc51d0ddc53c8.tar.gz
gdb-d3375ddde4011242ef576083459fc51d0ddc53c8.tar.bz2
[arm] Add neon-vfp3 as an alias for neon to -mfpu.
GCC recently added neon-vfpv3 as an alias for neon in -mfpu. This patch adds a similar alias in GAS. * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-arm.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index cf51667..6d7c403 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2017-03-20 Richard Earnshaw <rearnsha@arm.com>
+
+ * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
+
2017-03-16 Rinat Zelig <rinat@mellanox.com>
* config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index a433929..bb2985c 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -25798,6 +25798,7 @@ static const struct arm_option_fpu_value_table arm_fpus[] =
{"arm1136jf-s", FPU_ARCH_VFP_V2},
{"maverick", FPU_ARCH_MAVERICK},
{"neon", FPU_ARCH_VFP_V3_PLUS_NEON_V1},
+ {"neon-vfpv3", FPU_ARCH_VFP_V3_PLUS_NEON_V1},
{"neon-fp16", FPU_ARCH_NEON_FP16},
{"vfpv4", FPU_ARCH_VFP_V4},
{"vfpv4-d16", FPU_ARCH_VFP_V4D16},