diff options
author | Richard Henderson <rth@gcc.gnu.org> | 2002-03-17 12:44:59 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-03-17 12:44:59 -0800 |
commit | e6542f4e1fafccff780241a789315316d556490e (patch) | |
tree | da7430da1105333f4d441cd9de0d3ff6f0f7e27a /gcc/config/ia64 | |
parent | 52dabb6c609b81591884caf64894caa84e16a29f (diff) | |
download | gcc-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
Diffstat (limited to 'gcc/config/ia64')
-rw-r--r-- | gcc/config/ia64/ia64.c | 17 |
1 files changed, 8 insertions, 9 deletions
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. |