ia64.c (ia64_attribute_table): Move before targetm definition.
authorRichard Henderson <rth@gcc.gnu.org>
Sun, 17 Mar 2002 20:44:59 +0000 (12:44 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 17 Mar 2002 20:44:59 +0000 (12:44 -0800)
        * config/ia64/ia64.c (ia64_attribute_table): Move before
        targetm definition.  Make static.

From-SVN: r50927

gcc/ChangeLog
gcc/config/ia64/ia64.c

index 9c9c00c4788eabec636188e003db3f60c8dacb99..1100545797877990a1108c6fb6e9b83c3e8468cd 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-17  Richard Henderson  <rth@redhat.com>
+
+       * config/ia64/ia64.c (ia64_attribute_table): Move before
+       targetm definition.  Make static.
+
 2002-03-17  Neil Booth  <neil@daikokuya.demon.co.uk>
 
        * c-common.h (yyparse, c_common_parse_file): New.
@@ -12,8 +17,7 @@
        * langhooks.h (struct lang_hoooks): New hook parse_file.
        * toplev.c (compile_file): Use parse_file hook.
        * tree.h (yyparse): Remove.
-objc:
-       * objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine.
+       * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine.
 
 2002-03-17  Hans-Peter Nilsson  <hp@bitrange.com>
 
index 4815301a637aa7a8c7ab39e58d19b137d6fad80e..d42a01f73ace3bf7b2eae42415c380ddbbdbccde 100644 (file)
@@ -138,7 +138,6 @@ static rtx ia64_expand_compare_and_swap PARAMS ((enum machine_mode, int,
 static rtx ia64_expand_lock_test_and_set PARAMS ((enum machine_mode,
                                                  tree, rtx));
 static rtx ia64_expand_lock_release PARAMS ((enum machine_mode, tree, rtx));
-const struct attribute_spec ia64_attribute_table[];
 static bool ia64_assemble_integer PARAMS ((rtx, unsigned int, int));
 static void ia64_output_function_prologue PARAMS ((FILE *, HOST_WIDE_INT));
 static void ia64_output_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT));
@@ -156,6 +155,14 @@ static int ia64_variable_issue PARAMS ((FILE *, int, rtx, int));
 static rtx ia64_cycle_display PARAMS ((int, rtx));
 
 \f
+/* Table of valid machine attributes.  */
+static const struct attribute_spec ia64_attribute_table[] =
+{
+  /* { name, min_len, max_len, decl_req, type_req, fn_type_req, handler } */
+  { "syscall_linkage", 0, 0, false, true,  true,  NULL },
+  { NULL,              0, 0, false, false, false, NULL }
+};
+
 /* Initialize the GCC target structure.  */
 #undef TARGET_ATTRIBUTE_TABLE
 #define TARGET_ATTRIBUTE_TABLE ia64_attribute_table
@@ -6808,14 +6815,6 @@ ia64_epilogue_uses (regno)
       return 0;
     }
 }
-
-/* Table of valid machine attributes.  */
-const struct attribute_spec ia64_attribute_table[] =
-{
-  /* { name, min_len, max_len, decl_req, type_req, fn_type_req, handler } */
-  { "syscall_linkage", 0, 0, false, true,  true,  NULL },
-  { NULL,              0, 0, false, false, false, NULL }
-};
 \f
 /* For ia64, SYMBOL_REF_FLAG set means that it is a function.