]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
aarch64: Move struct definition towards its usage
authorAndrew Carlotti <andrew.carlotti@arm.com>
Fri, 21 Jun 2024 18:30:39 +0000 (19:30 +0100)
committerRichard Earnshaw <rearnsha@arm.com>
Mon, 24 Jun 2024 15:49:52 +0000 (16:49 +0100)
gas/config/tc-aarch64.c

index dad8f865b3a5de3fb14848c1b080e7f59ad6a736..1717ca7eb70234e4bce98cdcd31d7066acaa5b13 100644 (file)
@@ -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},