aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2006-12-13 16:06:39 +0000
committerPaul Brook <paul@codesourcery.com>2006-12-13 16:06:39 +0000
commitc450d570b0572e8add0dc52df5ae894c4fa08e13 (patch)
treef6686fcf1838170824375e914fad4741ff283f62 /gas/config
parentf2d43c2c03caa3ee76405b20f5e9ddc44128f345 (diff)
downloadgdb-c450d570b0572e8add0dc52df5ae894c4fa08e13.zip
gdb-c450d570b0572e8add0dc52df5ae894c4fa08e13.tar.gz
gdb-c450d570b0572e8add0dc52df5ae894c4fa08e13.tar.bz2
2006-12-13 Paul Brook <paul@codesourcery.com>
gas/ * config/tc-arm.c (arm_arch_option_table): Add v7-{a,r,m}. * doc/c-arm.texi: Fix spelling of ARMv7 profile variants.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-arm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index a7859dc..e0eafbd 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -19779,9 +19779,14 @@ static const struct arm_arch_option_table arm_archs[] =
{"armv6zt2", ARM_ARCH_V6ZT2, FPU_ARCH_VFP},
{"armv6zkt2", ARM_ARCH_V6ZKT2, FPU_ARCH_VFP},
{"armv7", ARM_ARCH_V7, FPU_ARCH_VFP},
+ /* The official spelling of the ARMv7 profile variants is the dashed form.
+ Accept the non-dashed form for compatibility with old toolchains. */
{"armv7a", ARM_ARCH_V7A, FPU_ARCH_VFP},
{"armv7r", ARM_ARCH_V7R, FPU_ARCH_VFP},
{"armv7m", ARM_ARCH_V7M, FPU_ARCH_VFP},
+ {"armv7-a", ARM_ARCH_V7A, FPU_ARCH_VFP},
+ {"armv7-r", ARM_ARCH_V7R, FPU_ARCH_VFP},
+ {"armv7-m", ARM_ARCH_V7M, FPU_ARCH_VFP},
{"xscale", ARM_ARCH_XSCALE, FPU_ARCH_VFP},
{"iwmmxt", ARM_ARCH_IWMMXT, FPU_ARCH_VFP},
{"iwmmxt2", ARM_ARCH_IWMMXT2,FPU_ARCH_VFP},