aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAndrew Carlotti <andrew.carlotti@arm.com>2024-06-21 19:30:39 +0100
committerRichard Earnshaw <rearnsha@arm.com>2024-06-24 16:49:52 +0100
commit92d37320d5f75804006abfb28e006ccbc24f8f52 (patch)
tree4ed7085d20c4d5c4e8b55eddb11be0480f741f85 /gas
parent979114a1b39cbcbe61faeaf9fe65ead589ea1096 (diff)
downloadgdb-92d37320d5f75804006abfb28e006ccbc24f8f52.zip
gdb-92d37320d5f75804006abfb28e006ccbc24f8f52.tar.gz
gdb-92d37320d5f75804006abfb28e006ccbc24f8f52.tar.bz2
aarch64: Move struct definition towards its usage
Diffstat (limited to 'gas')
-rw-r--r--gas/config/tc-aarch64.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index dad8f86..1717ca7 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -10684,14 +10684,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)
@@ -10924,6 +10916,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},