From: Richard Henderson Date: Sun, 17 Mar 2002 20:44:59 +0000 (-0800) Subject: ia64.c (ia64_attribute_table): Move before targetm definition. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6542f4e1fafccff780241a789315316d556490e;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9c9c00c4788..11005457978 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-03-17 Richard Henderson + + * config/ia64/ia64.c (ia64_attribute_table): Move before + targetm definition. Make static. + 2002-03-17 Neil Booth * 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 diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index 4815301a637..d42a01f73ac 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.