[PATCH] Define 32-bit sigcontext_struct for x86-64
Gwenole Beauchesne
gbeauchesne@mandrakesoft.com
Wed Jan 22 21:41:00 GMT 2003
Hi,
The attached patch defines 32-bit sigcontext_struct for x86-64
<bits/sigcontext.h>. This is needed to build libjava32 on x86-64.
Bye,
Gwenole.
-------------- next part --------------
2003-01-22 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com>
* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
(sigcontext_struct): Define for 32-bit sigcontext.
--- glibc-2.3.1/sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h.x86_64-biarch-fixes 2002-03-27 06:07:44.000000000 -0500
+++ glibc-2.3.1/sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h 2003-01-22 12:10:52.000000000 -0500
@@ -70,6 +70,10 @@ struct _fpstate
__uint32_t padding[56];
};
+#ifndef sigcontext_struct
+#define sigcontext_struct sigcontext
+#endif
+
struct sigcontext
{
unsigned short gs, __gsh;
More information about the Libc-alpha
mailing list