* config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
* config/alpha/alpha.c (alpha_init_machine_status,
alpha_mark_machine_status, alpha_free_machine_status): Delete.
(TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
(vms_valid_decl_attribute_p): Make static, conditionally compile.
* config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
From-SVN: r43832
+2001-07-07 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
+ * config/alpha/alpha.c (alpha_init_machine_status,
+ alpha_mark_machine_status, alpha_free_machine_status): Delete.
+ (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
+ (vms_valid_decl_attribute_p): Make static, conditionally compile.
+ * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
+
2001-07-06 Stan Shebs <shebs@apple.com>
* target.h (targetm): Rename global from "target", so as not to
extern rtx function_arg PARAMS ((CUMULATIVE_ARGS, enum machine_mode,
tree, int));
#endif
-extern int vms_valid_decl_attribute_p PARAMS ((tree, tree, tree, tree));
extern void alpha_start_function PARAMS ((FILE *, const char *, tree));
extern void alpha_end_function PARAMS ((FILE *, const char *, tree));
#endif /* TREE CODE */
PARAMS ((unsigned long *imaskP, unsigned long *fmaskP));
static int alpha_does_function_need_gp
PARAMS ((void));
-static void alpha_init_machine_status
- PARAMS ((struct function *p));
-static void alpha_mark_machine_status
- PARAMS ((struct function *p));
-static void alpha_free_machine_status
- PARAMS ((struct function *p));
static int alpha_ra_ever_killed
PARAMS ((void));
static rtx set_frame_related_p
#define REG_RA 26
\f
/* Initialize the GCC target structure. */
+#ifdef OPEN_VMS
+ static int vms_valid_decl_attribute_p PARAMS ((tree, tree, tree, tree));
+# undef TARGET_VALID_DECL_ATTRIBUTE
+# define TARGET_VALID_DECL_ATTRIBUTE vms_valid_decl_attribute_p
+#endif
struct gcc_target targetm = TARGET_INITIALIZER;
\f
return vms_unwind_regno == HARD_FRAME_POINTER_REGNUM;
}
-int
+#ifdef OPEN_VMS
+
+static int
vms_valid_decl_attribute_p (decl, attributes, identifier, args)
tree decl ATTRIBUTE_UNUSED;
tree attributes ATTRIBUTE_UNUSED;
return 0;
}
+#endif
+
static int
alpha_does_function_need_gp ()
{
fprintf (FILE, "\n"); \
} while (0)
-#define VALID_MACHINE_DECL_ATTRIBUTE(DECL, ATTRIBUTES, NAME, ARGS) \
- (vms_valid_decl_attribute_p (DECL, ATTRIBUTES, NAME, ARGS))
-
#undef SDB_DEBUGGING_INFO
#undef MIPS_DEBUGGING_INFO
#undef DBX_DEBUGGING_INFO