[AArch64] Enable CRC feature in GAS for cortex-a53 and cortex-a57.
authorMarcus Shawcroft <marcus.shawcroft@arm.com>
Fri, 14 Nov 2014 12:52:17 +0000 (12:52 +0000)
committerMarcus Shawcroft <marcus.shawcroft@arm.com>
Fri, 14 Nov 2014 13:07:57 +0000 (13:07 +0000)
Conflicts:
gas/config/tc-aarch64.c

gas/ChangeLog
gas/config/tc-aarch64.c

index ecbac5f..27c3f76 100644 (file)
@@ -1,3 +1,9 @@
+2014-11-13  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       Apply trunk patch:
+       * config/tc-aarch64.c (aarch64_cpus): Add CRC feature for
+       cortex-A53 and cortex-A57.
+
 2014-11-12  Alan Modra  <amodra@gmail.com>
 
        PR ld/17482
index 150949c..c0153bc 100644 (file)
@@ -7180,8 +7180,11 @@ struct aarch64_cpu_option_table
    recognized by GCC.  */
 static const struct aarch64_cpu_option_table aarch64_cpus[] = {
   {"all", AARCH64_ANY, NULL},
-  {"cortex-a53",       AARCH64_ARCH_V8, "Cortex-A53"},
-  {"cortex-a57",       AARCH64_ARCH_V8, "Cortex-A57"},
+  {"cortex-a53", AARCH64_FEATURE(AARCH64_ARCH_V8,
+                                AARCH64_FEATURE_CRC), "Cortex-A53"},
+  {"cortex-a57", AARCH64_FEATURE(AARCH64_ARCH_V8,
+                                AARCH64_FEATURE_CRC), "Cortex-A57"},
+  {"thunderx", AARCH64_ARCH_V8, "Cavium ThunderX"},
   {"xgene-1", AARCH64_ARCH_V8, "APM X-Gene 1"},
   {"generic", AARCH64_ARCH_V8, NULL},