about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-03-21 16:04:46 +0000
committerAndreas Jaeger <aj@suse.de>2002-03-21 16:04:46 +0000
commit57d180fd2696d1a6411e2fb0c324a8c96942639e (patch)
treea76bd37476030bb579831d49af29356175fd18c6
parent943b72618ef3e2040d339a38abdc86f23b89f702 (diff)
downloadglibc-57d180fd2696d1a6411e2fb0c324a8c96942639e.tar.gz
glibc-57d180fd2696d1a6411e2fb0c324a8c96942639e.tar.xz
glibc-57d180fd2696d1a6411e2fb0c324a8c96942639e.zip
Update.
2002-03-21  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct
	_fpstate): Add separate struct for x86-64.

	* sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct
	user_fpregs_struct): Change member names to follow kernel.
-rw-r--r--ChangeLog8
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/sys/user.h24
2 files changed, 20 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index 113eb149e8..4de2187d2e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2002-03-21  Andreas Jaeger  <aj@suse.de>
+
+	* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct
+	_fpstate): Add separate struct for x86-64.
+
+	* sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct
+	user_fpregs_struct): Change member names to follow kernel.
+
 2002-03-20  Ulrich Drepper  <drepper@redhat.com>
 
 	* nis/ypclnt.c (yp_all): Remove the hack introduced on 1998-09-29.
diff --git a/sysdeps/unix/sysv/linux/x86_64/sys/user.h b/sysdeps/unix/sysv/linux/x86_64/sys/user.h
index 98820a8d66..bca10c7b3c 100644
--- a/sysdeps/unix/sysv/linux/x86_64/sys/user.h
+++ b/sysdeps/unix/sysv/linux/x86_64/sys/user.h
@@ -29,17 +29,17 @@
 
 struct user_fpregs_struct
 {
-  unsigned short int cwd;
-  unsigned short int swd;
-  unsigned short int twd;
-  unsigned short int fop;
-  unsigned long int frip;
-  unsigned long int frdp;
-  unsigned int mxcsr;
-  unsigned int reserved;
-  unsigned int st_space[32];   /* 8*16 bytes for each FP-reg = 128 bytes */
-  unsigned int xmm_space[64];  /* 16*16 bytes for each XMM-reg = 128 bytes */
-  unsigned int padding[24];
+  __uint16_t		cwd;
+  __uint16_t		swd;
+  __uint16_t		twd;
+  __uint16_t		fop;
+  __uint64_t		rip;
+  __uint64_t		rdp;
+  __uint32_t		mxcsr;
+  __uint32_t		mxcr_mask;
+  __uint32_t		st_space[32];   /* 8*16 bytes for each FP-reg = 128 bytes */
+  __uint32_t		xmm_space[64];  /* 16*16 bytes for each XMM-reg = 128 bytes */
+  __uint32_t		padding[24];
 };
 
 struct user_regs_struct
@@ -70,7 +70,7 @@ struct user_regs_struct
   unsigned long ds;
   unsigned long es;
   unsigned long fs;
-  unsigned long gs;  
+  unsigned long gs;
 };
 
 struct user