From: Marcus Shawcroft Date: Fri, 14 Nov 2014 12:52:17 +0000 (+0000) Subject: [AArch64] Enable CRC feature in GAS for cortex-a53 and cortex-a57. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f460784869eb8134c6e9cf09261df45f2107b063;p=thirdparty%2Fbinutils-gdb.git [AArch64] Enable CRC feature in GAS for cortex-a53 and cortex-a57. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index fa74e3d9def..9a4b77a03d1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2014-11-13 Marcus Shawcroft + + Apply trunk patch: + * config/tc-aarch64.c (aarch64_cpus): Add CRC feature for + cortex-A53 and cortex-A57. + 2014-07-17 Ilya Tocar Backport mainline patches diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 7a69d0026c2..110b29ec5ae 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -7135,8 +7135,12 @@ 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}, /* These two are example CPUs supported in GCC, once we have real