1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-09-01 05:02:03 +03:00

Cleanup x86-64 sys/user.h

This commit is contained in:
Ulrich Drepper
2011-05-16 01:35:07 -04:00
parent 5eb84b0e8e
commit d79a9c949c
3 changed files with 53 additions and 49 deletions

View File

@@ -1,5 +1,9 @@
2011-05-16 Ulrich Drepper <drepper@gmail.com> 2011-05-16 Ulrich Drepper <drepper@gmail.com>
[BZ #11820]
* sysdeps/unix/sysv/linux/x86_64/sys/user.h
(struct user_fpregs_struct): Avoid __uint*_t types.
[BZ #6420] [BZ #6420]
* malloc/mtrace.c (tr_where): Add additional parameter to point to * malloc/mtrace.c (tr_where): Add additional parameter to point to
symbol info. Use it instead of calling _dl_addr locally. symbol info. Use it instead of calling _dl_addr locally.

12
NEWS
View File

@@ -10,12 +10,12 @@ Version 2.14
* The following bugs are resolved with this release: * The following bugs are resolved with this release:
386, 6420, 7101, 9730, 9732, 9809, 10138, 10149, 10157, 11257, 11258, 386, 6420, 7101, 9730, 9732, 9809, 10138, 10149, 10157, 11257, 11258,
11487, 11532, 11578, 11653, 11668, 11724, 11901, 11945, 11947, 11952, 11487, 11532, 11578, 11653, 11668, 11724, 11820, 11901, 11945, 11947,
11987, 12052, 12083, 12158, 12178, 12200, 12346, 12393, 12420, 12432, 11952, 11987, 12052, 12083, 12158, 12178, 12200, 12346, 12393, 12420,
12445, 12449, 12453, 12454, 12460, 12469, 12489, 12509, 12510, 12511, 12432, 12445, 12449, 12453, 12454, 12460, 12469, 12489, 12509, 12510,
12518, 12527, 12541, 12545, 12551, 12582, 12583, 12587, 12597, 12601, 12511, 12518, 12527, 12541, 12545, 12551, 12582, 12583, 12587, 12597,
12611, 12625, 12626, 12631, 12650, 12653, 12655, 12660, 12681, 12685, 12601, 12611, 12625, 12626, 12631, 12650, 12653, 12655, 12660, 12681,
12711, 12713, 12714, 12717, 12723, 12724, 12734, 12738, 12746 12685, 12711, 12713, 12714, 12717, 12723, 12724, 12734, 12738, 12746
* The RPC implementation in libc is obsoleted. Old programs keep working * The RPC implementation in libc is obsoleted. Old programs keep working
but new programs cannot be linked with the routines in libc anymore. but new programs cannot be linked with the routines in libc anymore.

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc. /* Copyright (C) 2001, 2002, 2004, 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@@ -29,48 +29,48 @@
struct user_fpregs_struct struct user_fpregs_struct
{ {
__uint16_t cwd; unsigned short int cwd;
__uint16_t swd; unsigned short int swd;
__uint16_t ftw; unsigned short int ftw;
__uint16_t fop; unsigned short int fop;
__uint64_t rip; unsigned long int rip;
__uint64_t rdp; unsigned long int rdp;
__uint32_t mxcsr; unsigned int mxcsr;
__uint32_t mxcr_mask; unsigned int mxcr_mask;
__uint32_t st_space[32]; /* 8*16 bytes for each FP-reg = 128 bytes */ unsigned int st_space[32]; /* 8*16 bytes for each FP-reg = 128 bytes */
__uint32_t xmm_space[64]; /* 16*16 bytes for each XMM-reg = 256 bytes */ unsigned int xmm_space[64]; /* 16*16 bytes for each XMM-reg = 256 bytes */
__uint32_t padding[24]; unsigned int padding[24];
}; };
struct user_regs_struct struct user_regs_struct
{ {
unsigned long r15; unsigned long int r15;
unsigned long r14; unsigned long int r14;
unsigned long r13; unsigned long int r13;
unsigned long r12; unsigned long int r12;
unsigned long rbp; unsigned long int rbp;
unsigned long rbx; unsigned long int rbx;
unsigned long r11; unsigned long int r11;
unsigned long r10; unsigned long int r10;
unsigned long r9; unsigned long int r9;
unsigned long r8; unsigned long int r8;
unsigned long rax; unsigned long int rax;
unsigned long rcx; unsigned long int rcx;
unsigned long rdx; unsigned long int rdx;
unsigned long rsi; unsigned long int rsi;
unsigned long rdi; unsigned long int rdi;
unsigned long orig_rax; unsigned long int orig_rax;
unsigned long rip; unsigned long int rip;
unsigned long cs; unsigned long int intcs;
unsigned long eflags; unsigned long int eflags;
unsigned long rsp; unsigned long int rsp;
unsigned long ss; unsigned long int ss;
unsigned long fs_base; unsigned long int fs_base;
unsigned long gs_base; unsigned long int gs_base;
unsigned long ds; unsigned long int ds;
unsigned long es; unsigned long int es;
unsigned long fs; unsigned long int fs;
unsigned long gs; unsigned long int gs;
}; };
struct user struct user
@@ -81,8 +81,8 @@ struct user
unsigned long int u_tsize; unsigned long int u_tsize;
unsigned long int u_dsize; unsigned long int u_dsize;
unsigned long int u_ssize; unsigned long int u_ssize;
unsigned long start_code; unsigned long int start_code;
unsigned long start_stack; unsigned long int start_stack;
long int signal; long int signal;
int reserved; int reserved;
struct user_regs_struct* u_ar0; struct user_regs_struct* u_ar0;
@@ -152,8 +152,8 @@ struct user
unsigned long int u_tsize; unsigned long int u_tsize;
unsigned long int u_dsize; unsigned long int u_dsize;
unsigned long int u_ssize; unsigned long int u_ssize;
unsigned long start_code; unsigned long int start_code;
unsigned long start_stack; unsigned long int start_stack;
long int signal; long int signal;
int reserved; int reserved;
struct user_regs_struct* u_ar0; struct user_regs_struct* u_ar0;