This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[RFA/ARM] Add support for Cortex A-7 on GAS command line.
- From: Matthew Gretton-Dann <matthew dot gretton-dann at arm dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Cc: Richard Earnshaw <Richard dot Earnshaw at arm dot com>, "gingold at adacore dot com" <gingold at adacore dot com>
- Date: Mon, 07 Nov 2011 13:42:38 +0000
- Subject: [RFA/ARM] Add support for Cortex A-7 on GAS command line.
All,
The attached patch adds support for -mcpu=cortex-a7 on the gas command line.
Can someone please review and comment.
Tristan - if this is approved for trunk can it also be backported to the
2.22 branch please?
Thanks,
Matt
gas/ChangeLog:
2011-11-07 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
* config/tc-arm.c (arm_cpus): Add cortex-a7 entry.
* doc/c-arm.texi: Add cortex-a7 to list of accepted CPUs.
Thanks,
Matt
--
Matthew Gretton-Dann
Principal Engineer, PD Software - Tools, ARM Ltd
commit da5023f9c55996f43b72ab78e2af67408710d128
Author: Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
Date: Thu Nov 3 13:50:58 2011 +0000
Add support for Cortex-A7
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 2ebb336..e8040c3 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -22962,6 +22962,9 @@ static const struct arm_cpu_option_table arm_cpus[] =
{"arm1176jzf-s", ARM_ARCH_V6ZK, FPU_ARCH_VFP_V2, NULL},
{"cortex-a5", ARM_ARCH_V7A_MP_SEC,
FPU_NONE, "Cortex-A5"},
+ {"cortex-a7", ARM_ARCH_V7A_IDIV_MP_SEC_VIRT,
+ FPU_ARCH_NEON_VFP_V4,
+ "Cortex-A7"},
{"cortex-a8", ARM_ARCH_V7A_SEC,
ARM_FEATURE (0, FPU_VFP_V3
| FPU_NEON_EXT_V1),
diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi
index e4c779d..b7859a7 100644
--- a/gas/doc/c-arm.texi
+++ b/gas/doc/c-arm.texi
@@ -116,6 +116,7 @@ recognized:
@code{mpcore},
@code{mpcorenovfp},
@code{cortex-a5},
+@code{cortex-a7},
@code{cortex-a8},
@code{cortex-a9},
@code{cortex-a15},