[PATCH v2 1/6] aarch64: Move struct definition towards its usage
Andrew Carlotti
andrew.carlotti@arm.com
Fri Jun 21 18:30:39 GMT 2024
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 885ea65b8eb01732e07e838e8e018ab912c524ac..d1ed3c930dc8902c4a4e0f9f86e837d50d971a3c 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -10600,14 +10600,6 @@ static const struct aarch64_option_cpu_value_table aarch64_features[] = {
{NULL, AARCH64_NO_FEATURES, AARCH64_NO_FEATURES},
};
-struct aarch64_long_option_table
-{
- const char *option; /* Substring to match. */
- const char *help; /* Help information. */
- int (*func) (const char *subopt); /* Function to decode sub-option. */
- char *deprecated; /* If non-null, print this message. */
-};
-
/* Transitive closure of features depending on set. */
static aarch64_feature_set
aarch64_feature_disable_set (aarch64_feature_set set)
@@ -10840,6 +10832,14 @@ aarch64_parse_abi (const char *str)
return 0;
}
+struct aarch64_long_option_table
+{
+ const char *option; /* Substring to match. */
+ const char *help; /* Help information. */
+ int (*func) (const char *subopt); /* Function to decode sub-option. */
+ char *deprecated; /* If non-null, print this message. */
+};
+
static struct aarch64_long_option_table aarch64_long_opts[] = {
{"mabi=", N_("<abi name>\t specify for ABI <abi name>"),
aarch64_parse_abi, NULL},
More information about the Binutils
mailing list