This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
x86_64 sys/user.h change
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Ulrich Drepper <drepper at gmail dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Wed, 25 May 2011 13:21:36 +0200
- Subject: x86_64 sys/user.h change
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
Hi!
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.
changed in addition of the types also one field name, from cs
to intcs. Was it intentional? It breaks e.g. gcc bootstrap.
If it wasn't intentional, here is an untested fix:
2011-05-25 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/x86_64/sys/user.h
(struct user_regs_struct): Change intcs field back to cs.
diff --git a/sysdeps/unix/sysv/linux/x86_64/sys/user.h b/sysdeps/unix/sysv/linux/x86_64/sys/user.h
index c54cca80..e4423cf 100644
--- a/sysdeps/unix/sysv/linux/x86_64/sys/user.h
+++ b/sysdeps/unix/sysv/linux/x86_64/sys/user.h
@@ -61,7 +61,7 @@ struct user_regs_struct
unsigned long int rdi;
unsigned long int orig_rax;
unsigned long int rip;
- unsigned long int intcs;
+ unsigned long int cs;
unsigned long int eflags;
unsigned long int rsp;
unsigned long int ss;
Jakub