This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[AArch64][gas] Fix code formatting in the cpu-table
- From: Matthew Wahab <matthew dot wahab at arm dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Wed, 11 Feb 2015 12:47:15 +0000
- Subject: [AArch64][gas] Fix code formatting in the cpu-table
- Authentication-results: sourceware.org; auth=none
Hello,
This patch fixes the formatting for the macros in
tc-aarch64.c/aarch64_cpu, putting a space between the macro identifier
and the opening bracket.
Tested aarch64-none-linux-gnu with make check-gas: no failures.
Ok for trunk?
Matthew
gas/
2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
* config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 25ae8c3..af491f2 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -7227,10 +7227,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_FEATURE(AARCH64_ARCH_V8,
- AARCH64_FEATURE_CRC), "Cortex-A53"},
- {"cortex-a57", AARCH64_FEATURE(AARCH64_ARCH_V8,
- AARCH64_FEATURE_CRC), "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"},
{"cortex-a72", AARCH64_FEATURE (AARCH64_ARCH_V8,
AARCH64_FEATURE_CRC), "Cortex-A72"},
{"thunderx", AARCH64_ARCH_V8, "Cavium ThunderX"},
@@ -7239,8 +7239,8 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
tools. */
{"xgene-1", AARCH64_ARCH_V8, "APM X-Gene 1"},
{"xgene1", AARCH64_ARCH_V8, "APM X-Gene 1"},
- {"xgene2", AARCH64_FEATURE(AARCH64_ARCH_V8,
- AARCH64_FEATURE_CRC), "APM X-Gene 2"},
+ {"xgene2", AARCH64_FEATURE (AARCH64_ARCH_V8,
+ AARCH64_FEATURE_CRC), "APM X-Gene 2"},
{"generic", AARCH64_ARCH_V8, NULL},
{NULL, AARCH64_ARCH_NONE, NULL}