summaryrefslogtreecommitdiff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* Restore uc_flags to unsigned long in ucontexthjl/x32/release/2.12H.J. Lu2012-03-011-1/+1
| | | | | | struct ucontext in <sys/ucontext.h> is used for user-level context and is kernel indenpendent. It is separate from struct ucontext defined in kernel header files.
* Remove x32 PTR_MANGLE/PTR_DEMANGLEH.J. Lu2012-03-012-58/+16
| | | | | Remove the `q' suffix from x86-64 xor/rol instructions so that they work for both x86-64 and x32.
* Remove `.ctors' and `.dtors' output sectionsH.J. Lu2011-11-235-3/+7
|
* Add !USE___THREAD support to x32 sysdep.h.H.J. Lu2011-11-231-1/+31
|
* Add x32 dl-machine.h.H.J. Lu2011-11-231-0/+86
|
* Define MALLOC_ALIGNMENT as 16 for x32.H.J. Lu2011-11-231-0/+3
|
* Add misc x32 support.H.J. Lu2011-11-234-0/+36
| | | | | | | | | 2011-11-21 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/x86_64/x32/divdi3.c: New. * sysdeps/x86_64/x32/ffs.c: Likewise. * sysdeps/x86_64/x32/gmp-mparam.h: Likewise. * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
* Use stack register macro in stackinfo.h.H.J. Lu2011-11-231-2/+2
|
* Add x32 support to dynamic linker audit.H.J. Lu2011-11-232-1/+26
| | | | | | | | | | | | | | | | | | | | | | 2011-11-21 H.J. Lu <hongjiu.lu@intel.com> * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and la_x32_gnu_pltexit. (pltexit): Cast int_retval to ptrdiff_t. * elf/tst-auditmod3b.c: Likewise. * elf/tst-auditmod4b.c: Likewise. * elf/tst-auditmod5b.c: Likewise. * elf/tst-auditmod6b.c: Likewise. * elf/tst-auditmod6c.c: Likewise. * elf/tst-auditmod7b.c: Likewise. * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter and x32_gnu_pltexit. * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of __ELF_NATIVE_CLASS. (la_x32_gnu_pltenter): New. (la_x32_gnu_pltexit): Likewise.
* Add x32 support to sysdeps/x86_64/dl-machine.h.H.J. Lu2011-11-231-43/+68
|
* Add x32 support to dl-irel.h.H.J. Lu2011-11-231-4/+4
|
* Add x32 support to dl-tls.h.H.J. Lu2011-11-231-2/+2
|
* Add x32 support to dl-tlsdesc.h.H.J. Lu2011-11-231-2/+8
|
* Check if RTLD_SAVESPACE_SSE is 32byte aligned.H.J. Lu2011-11-231-0/+4
|
* Add x32 support to mathinline.h.H.J. Lu2011-11-231-4/+2
|
* Add x32 support to math_private.hH.J. Lu2011-11-231-2/+2
|
* Cast _Unwind_GetCFA return to _Unwind_Ptr first.H.J. Lu2011-11-231-1/+3
|
* Add x32 support to mathdef.h/setjmp.h/fenv.h.H.J. Lu2011-11-233-11/+4
|
* Add x32 support to byteswap.h.H.J. Lu2011-11-231-10/+7
|
* Use long long on 64bit integer in atomic.h.H.J. Lu2011-11-231-9/+9
|
* Use register macros in memcmp-sse4.S.H.J. Lu2011-11-231-4/+4
|
* Use R10_LP to load frame size.H.J. Lu2011-11-231-3/+3
|
* Use register macros in memcpy.S.H.J. Lu2011-11-231-2/+2
|
* Simulate popping 4byte argument count for x32.H.J. Lu2011-11-231-14/+20
| | | | | | | 2011-11-21 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/x86_64/elf/start.S: Include <sysdep.h>. Simulate popping 4byte argument count for x32. Use RXX_LP.
* Use register macros in __longjmp.S and setjmp.S.H.J. Lu2011-11-232-6/+6
|
* Add x32 sysctl.H.J. Lu2011-11-231-0/+1
|
* Add x32 sendfile64.c.H.J. Lu2011-11-231-0/+1
|
* Add x32 pselect.c.H.J. Lu2011-11-231-0/+70
|
* Add x32 syscalls.list.H.J. Lu2011-11-231-0/+20
| | | | | It is almost identical to 64bit syscalls.list, except for llseek, which is handled by x32 llseek.S.
* Add x32 init-first.c.H.J. Lu2011-11-231-0/+40
|
* Add x32 getdents and llseek.S.H.J. Lu2011-11-232-0/+194
|
* Add x32 gettimeofday and time.H.J. Lu2011-11-232-0/+122
|
* Add x32 preadv and pwritev.H.J. Lu2011-11-232-0/+99
|
* Add x32 getcpu and sched_getcpu.H.J. Lu2011-11-234-0/+85
|
* Add x32 fallocate, posix_fadvise and posix_fallocate.H.J. Lu2011-11-233-0/+168
|
* Use 64bit filesystem functions for x32.H.J. Lu2011-11-2329-0/+29
| | | | | Since x32 uses LFS like 64bit platforms, we use 64bit filesystem functions for x32.
* Add x32 dl-cache.h.H.J. Lu2011-11-231-0/+23
|
* Replace 8byte data alignment with LP_SIZE alignment.H.J. Lu2011-11-231-2/+2
|
* Load pointer to TID into R10_LP.H.J. Lu2011-11-231-1/+1
|
* Use register and stack_t field macros for alternate signal stack.H.J. Lu2011-11-233-9/+30
| | | | | | | | | | | | | | 2011-11-21 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers): Add sigaltstack.sym. * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include "sigaltstack.h". (____longjmp_chk): Use RXX_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate signal stack. * sysdeps/unix/sysv/linux/x86_64/sigaltstack.sym: New.
* Use "unsigned long long int" in __makecontext.H.J. Lu2011-11-231-14/+15
|
* Add x32 support to sigcontextinfo.h and sys header files.H.J. Lu2011-11-236-55/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add x32 support to <sys/msg.h>.H.J. Lu2011-11-231-0/+85
|
* Add x32 support to ldd-rewrite.sed.H.J. Lu2011-11-231-1/+1
|
* Add x32 wordsize.h.H.J. Lu2011-11-232-2/+8
| | | | | | | | | | | | | | | | | | | | | 2011-11-21 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/x86_64/bits/wordsize.h: Moved to ... * sysdeps/x86_64/64/bits/wordsize.h: Here. (__WORDSIZE_COMPAT32): Removed. * sysdeps/x86_64/x32/bits/wordsize.h: New. Since wordsize-32 and wordsize-64 in sysdeps/x86_64/x32/Implies and sysdeps/x86_64/64/Implies put sysdeps/wordsize-32/bits/wordsize.h and sysdeps/wordsize-64/bits/wordsize.h before sysdeps/x86_64/x32/bits/wordsize.h, we add sysdeps/x86_64/64/bits/wordsize.h and sysdeps/x86_64/x32/bits/wordsize.h to make sure that the proper wordsize.h is used. Since we added sysdeps/unix/sysv/linux/x86_64/bits/utmp.h and sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h to support x32, there is no need to define __WORDSIZE_COMPAT32 anymore.
* Add x32 Implies files.H.J. Lu2011-11-234-0/+8
|
* Add x32 support to Linux system call types.H.J. Lu2011-11-2316-93/+1061
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2011-11-21 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include <bits/wordsize.h>. (msgqnum_t): Use __UNATIVE_LONG_TYPE. (msglen_t): Likewise. (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use __UNATIVE_LONG_TYPE. * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use __UNATIVE_LONG_TYPE. * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use __UNATIVE_LONG_TYPE. (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't defined. Use __UNATIVE_LONG_TYPE. (shminfo): Use __UNATIVE_LONG_TYPE. (shm_info): Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't include <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE. (sigcontext): Use "unsigned long long int" instead of "unsigned long int" if __x86_64__ is defined. Pad if __LP64__ isn't defined. * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4): Check __x86_64__ instead of __WORDSIZE. (_STAT_VER_LINUX): Likewise. (stat): Check __x86_64__ instead of __WORDSIZE. Use __UNATIVE_LONG_TYPE. (stat64): Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/ipc.h: New. * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/mqueue.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/resource.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/statvfs.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/timex.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: Likewise.
* Add FLAG_X8664_LIBX32.H.J. Lu2011-11-235-5/+54
|
* Add x86-64 ffsl alias only if __LP64__ is defined.H.J. Lu2011-11-231-1/+4
|
* In 64bit, make lround the alias of llround.H.J. Lu2011-11-232-81/+81
|