[PATCH][GAS]Add support for -mcpu=marvell-whitney

Xingxing Pan xxingpan@marvell.com
Thu Dec 18 12:35:00 GMT 2014


Hi,

This patch add support for cpu marvell-whitney.
If it's OK, could someone help to commit it?

Thanks,
Xingxing



      2014-12-18  Xingxing Pan <xxingpan@marvell.com>

          * gas/config/tc-arm.c (arm_cpus): Add core marvell-whitney.

diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 412e8ab..cde67be 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -24460,6 +24460,9 @@ static const struct arm_cpu_option_table 
arm_cpus[] =
     /* Marvell processors.  */
     ARM_CPU_OPT ("marvell-pj4",   ARM_FEATURE (ARM_AEXT_V7A | 
ARM_EXT_MP | ARM_EXT_SEC, 0),
   						FPU_ARCH_VFP_V3D16, NULL),
+  ARM_CPU_OPT ("marvell-whitney", ARM_FEATURE (ARM_AEXT_V7A | ARM_EXT_MP
+                                               | ARM_EXT_SEC, 0),
+                                            FPU_ARCH_NEON_VFP_V4, NULL),

     { NULL, 0, ARM_ARCH_NONE, ARM_ARCH_NONE, NULL }
   };



More information about the Binutils mailing list