* config/i386/tm-i386.h (SO_ARG0): Remove define.
2002-08-15 Mark Kettenis <kettenis@gnu.org>
+ * uw-thread.c (SP_ARG0): Define if not already defined.
+ * config/i386/tm-i386.h (SO_ARG0): Remove define.
+
* config/i386/tm-i386v4.h (HAVE_I387_REGS): Remove define.
* config/i386/tm-i386.h: Don't include "regcache.h".
extern void print_387_control_word (unsigned int);
extern void print_387_status_word (unsigned int);
-/* Offset from SP to first arg on stack at first instruction of a function */
-
-#define SP_ARG0 (1 * 4)
-
#endif /* ifndef TM_I386_H */
/* Prototypes for supply_gregset etc. */
#include "gregset.h"
+/* Offset from SP to first arg on stack at first instruction of a
+ function. We provide a default here that's right for most, if not
+ all, targets that use this file. */
+
+#ifndef SP_ARG0
+#define SP_ARG0 (1 * 4)
+#endif
+
/* Whether to emit debugging output. */
#define DEBUG 0