blob: 49ad9cc5d29cf17f4f3b7f3b8be62a9fdeaff1ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- include/addresses.h.orig Fri Jun 11 15:58:36 1999
+++ include/addresses.h Wed Jul 26 11:11:27 2000
@@ -61,7 +61,7 @@
#elif defined(__sparc__)
#include <machine/frame.h>
#undef STACK_BASE
-#define STACK_BASE - sizeof(struct frame)
+#define STACK_BASE (void *)(alloca(0) - sizeof(struct frame))
endif
#endif /* __NetBSD__ */
|