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
This commit is contained in:
Richard Henderson 2002-03-17 12:44:59 -08:00
parent 52dabb6c60
commit e6542f4e1f
2 changed files with 14 additions and 11 deletions

View 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> 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
* c-common.h (yyparse, c_common_parse_file): New. * c-common.h (yyparse, c_common_parse_file): New.
@ -12,8 +17,7 @@
* langhooks.h (struct lang_hoooks): New hook parse_file. * langhooks.h (struct lang_hoooks): New hook parse_file.
* toplev.c (compile_file): Use parse_file hook. * toplev.c (compile_file): Use parse_file hook.
* tree.h (yyparse): Remove. * tree.h (yyparse): Remove.
objc: * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine.
* objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine.
2002-03-17 Hans-Peter Nilsson <hp@bitrange.com> 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com>

View 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, static rtx ia64_expand_lock_test_and_set PARAMS ((enum machine_mode,
tree, rtx)); tree, rtx));
static rtx ia64_expand_lock_release 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 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_prologue PARAMS ((FILE *, HOST_WIDE_INT));
static void ia64_output_function_epilogue 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)); 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. */ /* Initialize the GCC target structure. */
#undef TARGET_ATTRIBUTE_TABLE #undef TARGET_ATTRIBUTE_TABLE
#define TARGET_ATTRIBUTE_TABLE ia64_attribute_table #define TARGET_ATTRIBUTE_TABLE ia64_attribute_table
@ -6808,14 +6815,6 @@ ia64_epilogue_uses (regno)
return 0; 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. /* For ia64, SYMBOL_REF_FLAG set means that it is a function.