diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h | 8 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/register-dump.h | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/syscalls.list | 2 |
3 files changed, 7 insertions, 5 deletions
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 |