Update
authorAndreas Jaeger <aj@suse.de>
Fri, 22 Mar 2002 12:59:21 +0000 (12:59 +0000)
committerAndreas Jaeger <aj@suse.de>
Fri, 22 Mar 2002 12:59:21 +0000 (12:59 +0000)
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add getresgid and
getresuid.

_fpstate): Rename fwd to ftw, use _fpxreg and _xmmreg.
* sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct
user_fpregs_struct): Rename fwd.

ChangeLog
sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
sysdeps/unix/sysv/linux/x86_64/register-dump.h
sysdeps/unix/sysv/linux/x86_64/syscalls.list

index 2678ab2..4294ff0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,12 @@
 2002-03-22  Andreas Jaeger  <aj@suse.de>
 
+       * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add getresgid and
+       getresuid.
+
        * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct
-       _fpstate): Rename fwd to ftw.
-       * sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct user_fpregs_struct): Likewise.
+       _fpstate): Rename fwd to ftw, use _fpxreg and _xmmreg.
+       * sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct
+       user_fpregs_struct): Rename fwd.
 
        * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
        Follow sigcontext changes.
index 19a6f1f..88722c4 100644 (file)
@@ -65,8 +65,8 @@ struct _fpstate
   __uint32_t           _fxsr_env[6];
   __uint32_t           mxcsr;
   __uint32_t           reserved;
-  struct _fpxreg _fxsr_st[8];
-  struct _xmmreg _xmm[8];
+  struct _fpxreg       _fxsr_st[8];
+  struct _xmmreg       _xmm[8];
   __uint32_t           padding[56];
 };
 
@@ -109,8 +109,8 @@ struct _fpstate
   __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 */
+  struct _fpxreg       _st[8];
+  struct _xmmreg       _xmm[16];
   __uint32_t           padding[24];
 };
 
index 82a6d05..29e48c8 100644 (file)
@@ -183,7 +183,7 @@ register_dump (int fd, struct sigcontext *ctx)
       /* Generate output for the FPU control/status registers.  */
       hexvalue (ctx->fpstate->cwd, fpregs[0], 8);
       hexvalue (ctx->fpstate->swd, fpregs[1], 8);
-      hexvalue (ctx->fpstate->twd, fpregs[2], 8);
+      hexvalue (ctx->fpstate->ftw, fpregs[2], 8);
       hexvalue (ctx->fpstate->rip, fpregs[3], 8);
       hexvalue (ctx->fpstate->rdp, fpregs[4], 8);
 
index d2b2a1d..78c72a9 100644 (file)
@@ -7,6 +7,8 @@ pread           -       pread           i:ibni  __libc_pread    __libc_pread64 __pread pread __pread64 pread
 pwrite         -       pwrite          i:ibni  __libc_pwrite   __libc_pwrite64 __pwrite pwrite __pwrite64 pwrite64
 fstatfs                -       fstatfs         i:ip    __fstatfs       fstatfs __fstatfs64 fstatfs64
 statfs         -       statfs          i:sp    __statfs        statfs statfs64
+getresgid      -       getresgid       i:ppp   getresgid
+getresuid      -       getresuid       i:ppp   getresuid
 getrlimit      -       getrlimit       i:ip    __getrlimit     getrlimit getrlimit64
 setrlimit      -       setrlimit       i:ip    __setrlimit     setrlimit64 setrlimit
 ftruncate      -       ftruncate       i:ii    __ftruncate     ftruncate ftruncate64 __ftruncate64