Subject: Proposed jmp_buf change
To: None <port-arm@netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: port-arm
Date: 08/22/2001 14:00:00
I'd like to commit the following change to make the jmp_buf on ARM ELF
systems big enough to hold all the VFP state, with some to spare. Any
objections?
Index: setjmp.h
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/arm/include/setjmp.h,v
retrieving revision 1.1
diff -u -r1.1 setjmp.h
--- setjmp.h 2001/01/10 19:02:07 1.1
+++ setjmp.h 2001/08/22 12:57:55
@@ -4,7 +4,11 @@
* machine/setjmp.h: machine dependent setjmp-related information.
*/
+#ifdef __ELF__
+#define _JBLEN 64 /* size, in longs, of a jmp_buf */
+#else
#define _JBLEN 29 /* size, in longs, of a jmp_buf */
+#endif
/*
* NOTE: The internal structure of a jmp_buf is *PRIVATE*
--
Ben Harris <bjh21@netbsd.org>
Portmaster, NetBSD/arm26 <URL:http://www.netbsd.org/Ports/arm26/>