+2000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
+ Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
+
+ * config/c4x/c4x.h (MD_INIT_BUILTINS): Add void_list_node argument
+ to c4x_init_builtins.
+
+ * config/c4x/c4x-protos.h (c4x_init_builtins): Add tree argument.
+
+ * config/c4x/c4x.c (c4x_init_builtins): Add tree argument.
+ (c4x_output_ascii): Fix.
+
2000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
extern rtx c4x_expand_builtin PARAMS((tree, rtx, rtx,
enum machine_mode, int));
+
+extern void c4x_init_builtins PARAMS((tree));
+
#endif /* TREE_CODE and RTX_CODE*/
extern int valid_parallel_operands_6 PARAMS ((rtx *, enum machine_mode));
-extern void c4x_init_builtins PARAMS((void));
-
extern rtx smulhi3_libfunc;
extern rtx umulhi3_libfunc;
extern rtx fix_truncqfhi2_libfunc;
int len;
{
char sbuf[C4X_ASCII_LIMIT + 1];
- int s, l, special, first, onlys;
+ int s, l, special, first = 1, onlys;
- first = 0;
if (len)
- {
fprintf (stream, "\t.byte\t");
- first = 1;
- }
for (s = l = 0; len > 0; --len, ++ptr)
{
}
void
-c4x_init_builtins ()
+c4x_init_builtins (endlink)
+ tree endlink;
{
- tree endlink = tree_cons (NULL_TREE, void_type_node, NULL_TREE);
builtin_function ("abs",
build_function_type
};
#define MD_INIT_BUILTINS do { \
- c4x_init_builtins (); \
+ c4x_init_builtins (void_list_node); \
} while (0)
#define MD_EXPAND_BUILTIN(EXP, TARGET, SUBTARGET, MODE, IGNORE) \