[AArch64] Enable CRC feature in GAS for cortex-a53 and cortex-a57.
authorMarcus Shawcroft <marcus.shawcroft@arm.com>
Tue, 18 Nov 2014 14:00:56 +0000 (14:00 +0000)
committerMarcus Shawcroft <marcus.shawcroft@arm.com>
Tue, 18 Nov 2014 14:00:56 +0000 (14:00 +0000)
gas/ChangeLog
gas/config/tc-aarch64.c

index 58ff082..bc39ebc 100644 (file)
@@ -1,3 +1,9 @@
+2014-11-18  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-17  Nick Clifton  <nickc@redhat.com>
 
        Apply trunk patches:
index 150949c..1461057 100644 (file)
@@ -7180,8 +7180,10 @@ 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"},
   {"xgene-1", AARCH64_ARCH_V8, "APM X-Gene 1"},
   {"generic", AARCH64_ARCH_V8, NULL},