Hi all,
This one-line patch adds support for Cortex A-7 to the -mcpu=native option.

Ok for trunk?

No regressions on arm-none-eabi.

Thanks,
Kyrill

gcc/ChangeLog

2012-12-18  Kyrylo Tkachov  <kyrylo.tkac...@arm.com>

        * config/arm/driver-arm.c (arm_cpu_table):
        Add Cortex-A7.
diff --git a/gcc/config/arm/driver-arm.c b/gcc/config/arm/driver-arm.c
index 3e14b14..3a17e10 100644
--- a/gcc/config/arm/driver-arm.c
+++ b/gcc/config/arm/driver-arm.c
@@ -37,6 +37,7 @@ static struct vendor_cpu arm_cpu_table[] = {
     {"0xb56", "armv6t2", "arm1156t2-s"},
     {"0xb76", "armv6zk", "arm1176jz-s"},
     {"0xc05", "armv7-a", "cortex-a5"},
+    {"0xc07", "armv7-a", "cortex-a7"},
     {"0xc08", "armv7-a", "cortex-a8"},
     {"0xc09", "armv7-a", "cortex-a9"},
     {"0xc0f", "armv7-a", "cortex-a15"},

Reply via email to