From 0f8a3e95552c34c2942b47b24b0a12bc945cbaee Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 22 Mar 2002 12:59:21 +0000 Subject: Update * 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. --- sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h | 8 ++++---- sysdeps/unix/sysv/linux/x86_64/register-dump.h | 2 +- sysdeps/unix/sysv/linux/x86_64/syscalls.list | 2 ++ 3 files changed, 7 insertions(+), 5 deletions(-) (limited to 'sysdeps') diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h b/sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h index 19a6f1f0d3..88722c4fdd 100644 --- a/sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h +++ b/sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h @@ -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]; }; diff --git a/sysdeps/unix/sysv/linux/x86_64/register-dump.h b/sysdeps/unix/sysv/linux/x86_64/register-dump.h index 82a6d05ca3..29e48c8315 100644 --- a/sysdeps/unix/sysv/linux/x86_64/register-dump.h +++ b/sysdeps/unix/sysv/linux/x86_64/register-dump.h @@ -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); diff --git a/sysdeps/unix/sysv/linux/x86_64/syscalls.list b/sysdeps/unix/sysv/linux/x86_64/syscalls.list index d2b2a1d101..78c72a9044 100644 --- a/sysdeps/unix/sysv/linux/x86_64/syscalls.list +++ b/sysdeps/unix/sysv/linux/x86_64/syscalls.list @@ -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 -- cgit 1.4.1