about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-03-26 12:38:27 +0000
committerAndreas Jaeger <aj@suse.de>2002-03-26 12:38:27 +0000
commit30ee7c7be0da4f14d4b3f5e56e0dcb67ad88eb61 (patch)
treef5ff5c22f12b597d40c8801f46c313a6ac9f8637 /sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
parent367b07fbae533b711253bb75dcd2a4d53f83576c (diff)
downloadglibc-30ee7c7be0da4f14d4b3f5e56e0dcb67ad88eb61.tar.gz
glibc-30ee7c7be0da4f14d4b3f5e56e0dcb67ad88eb61.tar.xz
glibc-30ee7c7be0da4f14d4b3f5e56e0dcb67ad88eb61.zip
Update.
2002-03-26  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Add 32-bit
	compatibilty, adjust for kernel changes.

	* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct
	sigcontext): Adjust for kernel changes.
Diffstat (limited to 'sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h')
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h30
1 files changed, 14 insertions, 16 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h b/sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
index 88722c4fdd..bedfa161ae 100644
--- a/sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
+++ b/sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
@@ -66,7 +66,7 @@ struct _fpstate
   __uint32_t		mxcsr;
   __uint32_t		reserved;
   struct _fpxreg	_fxsr_st[8];
-  struct _xmmreg 	_xmm[8];
+  struct _xmmreg	_xmm[8];
   __uint32_t		padding[56];
 };
 
@@ -96,7 +96,7 @@ struct sigcontext
   unsigned long cr2;
 };
 
-#else
+#else /* __WORDSIZE == 64 */
 
 struct _fpstate
 {
@@ -110,19 +110,16 @@ struct _fpstate
   __uint32_t		mxcsr;
   __uint32_t		mxcr_mask;
   struct _fpxreg	_st[8];
-  struct _xmmreg 	_xmm[16];
+  struct _xmmreg	_xmm[16];
   __uint32_t		padding[24];
 };
 
 struct sigcontext
 {
-  unsigned short gs, __gsh;
-  unsigned short fs, __fsh;
-  unsigned short es, __esh;
-  unsigned short ds, __dsh;
   unsigned long r8;
   unsigned long r9;
   unsigned long r10;
+  unsigned long r11;
   unsigned long r12;
   unsigned long r13;
   unsigned long r14;
@@ -133,21 +130,22 @@ struct sigcontext
   unsigned long rbx;
   unsigned long rdx;
   unsigned long rax;
-  unsigned long trapno;
-  unsigned long err;
+  unsigned long rcx;
+  unsigned long rsp;
   unsigned long rip;
+  unsigned long eflags;
   unsigned short cs, __csh;
+  unsigned short gs, __gsh;
+  unsigned short fs, __fsh;
   unsigned int __pad0;
-  unsigned long eflags;
-  unsigned long rsp_at_signal;
-  struct _fpstate * fpstate;
+  unsigned long err;
+  unsigned long trapno;
   unsigned long oldmask;
   unsigned long cr2;
-  unsigned long r11;
-  unsigned long rcx;
-  unsigned long rsp;
+  struct _fpstate * fpstate;
+  unsigned long __reserved1 [8];
 };
 
-#endif
+#endif /* __WORDSIZE == 64 */
 
 #endif /* _BITS_SIGCONTEXT_H */