+2004-11-08 Richard Earnshaw <rearnsha@arm.com>
+
+ * arm.c (arm_handle_notshared_attribute): Wrap declaration and use
+ with #if TARGET_DLLIMPORT_DECL_ATTRIBUTES.
+
2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
* tree-if-conv.c (tree_if_convert_cond_expr): Remove two "if"
static unsigned long arm_compute_func_type (void);
static tree arm_handle_fndecl_attribute (tree *, tree, tree, int, bool *);
static tree arm_handle_isr_attribute (tree *, tree, tree, int, bool *);
+#if TARGET_DLLIMPORT_DECL_ATTRIBUTES
static tree arm_handle_notshared_attribute (tree *, tree, tree, int, bool *);
+#endif
static void arm_output_function_epilogue (FILE *, HOST_WIDE_INT);
static void arm_output_function_prologue (FILE *, HOST_WIDE_INT);
static void thumb_output_function_prologue (FILE *, HOST_WIDE_INT);
return NULL_TREE;
}
+#if TARGET_DLLIMPORT_DECL_ATTRIBUTES
/* Handle the "notshared" attribute. This attribute is another way of
requesting hidden visibility. ARM's compiler supports
"__declspec(notshared)"; we support the same thing via an
}
return NULL_TREE;
}
+#endif
/* Return 0 if the attributes for two types are incompatible, 1 if they
are compatible, and 2 if they are nearly compatible (which causes a