diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2011-11-21 13:10:15 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2011-11-23 09:19:26 -0800 |
commit | a6b7e16187260cc1176c500866e5192feefbfce3 (patch) | |
tree | 3e0ac09ac4f41367c7cf2a2ac37a97a2b739a82d /Makeconfig | |
parent | f8910e75cc8fe8862973ccfc18d30336f945f459 (diff) | |
download | glibc-a6b7e16187260cc1176c500866e5192feefbfce3.tar.gz glibc-a6b7e16187260cc1176c500866e5192feefbfce3.tar.xz glibc-a6b7e16187260cc1176c500866e5192feefbfce3.zip |
Add x32 support to sigcontextinfo.h and sys header files.
2011-11-21 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include <stdint.h>. (GET_PC): Cast to uintptr_t first. (GET_FRAME): Likewise. (GET_STACK): Likewise. * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE. (DR_CONTROL_RESERVED): Use ULL instead of UL suffix. * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use "unsigned long long int" if __x86_64__ is defined. Check __x86_64__ instead of __WORDSIZE. (elf_prstatus): Use "unsigned long long int" instead of "unsigned long int" if __x86_64__ is defined. * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't include <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE. * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't include <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE. (greg_t): Use "long long int" if __x86_64__ is defined. (mcontext_t): Replace "unsigned long" with "unsigned long long". (ucontext_t): Likewise. * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't include <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE. (user_regs_struct): Use "unsigned long long" instead of "unsigned long" if __x86_64__ is defined. (user): Likewise. Pad if __LP64__ isn't defined.
Diffstat (limited to 'Makeconfig')
0 files changed, 0 insertions, 0 deletions