aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@gcc.gnu.org>2002-03-17 12:44:59 -0800
committerRichard Henderson <rth@gcc.gnu.org>2002-03-17 12:44:59 -0800
commite6542f4e1fafccff780241a789315316d556490e (patch)
treeda7430da1105333f4d441cd9de0d3ff6f0f7e27a
parent52dabb6c609b81591884caf64894caa84e16a29f (diff)
downloadgcc-e6542f4e1fafccff780241a789315316d556490e.zip
gcc-e6542f4e1fafccff780241a789315316d556490e.tar.gz
gcc-e6542f4e1fafccff780241a789315316d556490e.tar.bz2
ia64.c (ia64_attribute_table): Move before targetm definition.
* config/ia64/ia64.c (ia64_attribute_table): Move before targetm definition. Make static. From-SVN: r50927
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/ia64/ia64.c17
2 files changed, 14 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9c9c00c..1100545 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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>
diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c
index 4815301..d42a01f 100644
--- a/gcc/config/ia64/ia64.c
+++ b/gcc/config/ia64/ia64.c
@@ -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));
+/* 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 }
-};
/* For ia64, SYMBOL_REF_FLAG set means that it is a function.