aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/mips.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/mips/mips.c')
-rw-r--r--gcc/config/mips/mips.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 4e70a9b..d6f7e28 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -595,29 +595,29 @@ static tree mips_handle_use_shadow_register_set_attr (tree *, tree, tree, int,
/* The value of TARGET_ATTRIBUTE_TABLE. */
static const struct attribute_spec mips_attribute_table[] = {
- /* { name, min_len, max_len, decl_req, type_req, fn_type_req, handler,
- om_diagnostic } */
- { "long_call", 0, 0, false, true, true, NULL, false, NULL },
- { "short_call", 0, 0, false, true, true, NULL, false, NULL },
- { "far", 0, 0, false, true, true, NULL, false, NULL },
- { "near", 0, 0, false, true, true, NULL, false, NULL },
+ /* { name, min_len, max_len, decl_req, type_req, fn_type_req,
+ affects_type_identity, handler, exclude } */
+ { "long_call", 0, 0, false, true, true, false, NULL, NULL },
+ { "short_call", 0, 0, false, true, true, false, NULL, NULL },
+ { "far", 0, 0, false, true, true, false, NULL, NULL },
+ { "near", 0, 0, false, true, true, false, NULL, NULL },
/* We would really like to treat "mips16" and "nomips16" as type
attributes, but GCC doesn't provide the hooks we need to support
the right conversion rules. As declaration attributes, they affect
code generation but don't carry other semantics. */
- { "mips16", 0, 0, true, false, false, NULL, false, NULL },
- { "nomips16", 0, 0, true, false, false, NULL, false, NULL },
- { "micromips", 0, 0, true, false, false, NULL, false, NULL },
- { "nomicromips", 0, 0, true, false, false, NULL, false, NULL },
- { "nocompression", 0, 0, true, false, false, NULL, false, NULL },
+ { "mips16", 0, 0, true, false, false, false, NULL, NULL },
+ { "nomips16", 0, 0, true, false, false, false, NULL, NULL },
+ { "micromips", 0, 0, true, false, false, false, NULL, NULL },
+ { "nomicromips", 0, 0, true, false, false, false, NULL, NULL },
+ { "nocompression", 0, 0, true, false, false, false, NULL, NULL },
/* Allow functions to be specified as interrupt handlers */
- { "interrupt", 0, 1, false, true, true, mips_handle_interrupt_attr,
- false, NULL },
- { "use_shadow_register_set", 0, 1, false, true, true,
- mips_handle_use_shadow_register_set_attr, false, NULL },
- { "keep_interrupts_masked", 0, 0, false, true, true, NULL, false, NULL },
- { "use_debug_exception_return", 0, 0, false, true, true, NULL, false, NULL },
- { NULL, 0, 0, false, false, false, NULL, false, NULL }
+ { "interrupt", 0, 1, false, true, true, false, mips_handle_interrupt_attr,
+ NULL },
+ { "use_shadow_register_set", 0, 1, false, true, true, false,
+ mips_handle_use_shadow_register_set_attr, NULL },
+ { "keep_interrupts_masked", 0, 0, false, true, true, false, NULL, NULL },
+ { "use_debug_exception_return", 0, 0, false, true, true, false, NULL, NULL },
+ { NULL, 0, 0, false, false, false, false, NULL, NULL }
};
/* A table describing all the processors GCC knows about; see