diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-08-04 12:30:22 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-08-04 12:30:38 -0700 |
commit | 627c69c838e75d69f46a7cc7dd2bafca03adbf60 (patch) | |
tree | 3a25ac1244ad02a10fa644d20f207c5c188a792d /ChangeLog | |
parent | fc11ff8d0acebbf0802854156d45cb1d8bb7c079 (diff) | |
download | glibc-627c69c838e75d69f46a7cc7dd2bafca03adbf60.tar.gz glibc-627c69c838e75d69f46a7cc7dd2bafca03adbf60.tar.xz glibc-627c69c838e75d69f46a7cc7dd2bafca03adbf60.zip |
i386: Update I386_USE_SYSENTER for early PIC syscall
Define I386_USE_SYSENTER to 0 or 1 so that special versions of syscalls with "int $0x80" can be provided for static PIE during self relocation. Also check PIC instead SHARED for PIC version of syscall macros. * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER): Define to I386_USE_SYSENTER to 0 or 1 if not defined. (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC. (INTERNAL_SYSCALL_MAIN_INLINE): Likewise. (INTERNAL_SYSCALL_NCS): Likewise. (LOADARGS_1): Likewise. (LOADARGS_5): Likewise. (RESTOREARGS_1): Likewise. (RESTOREARGS_5): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 14dd0bacbc..6a50d235f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,17 @@ 2017-08-04 H.J. Lu <hongjiu.lu@intel.com> + * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER): + Define to I386_USE_SYSENTER to 0 or 1 if not defined. + (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC. + (INTERNAL_SYSCALL_MAIN_INLINE): Likewise. + (INTERNAL_SYSCALL_NCS): Likewise. + (LOADARGS_1): Likewise. + (LOADARGS_5): Likewise. + (RESTOREARGS_1): Likewise. + (RESTOREARGS_5): Likewise. + +2017-08-04 H.J. Lu <hongjiu.lu@intel.com> + * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED. (MEMPCPY_SYMBOL): Likewise. * sysdeps/x86_64/multiarch/ifunc-impl-list.c |