From 627c69c838e75d69f46a7cc7dd2bafca03adbf60 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 4 Aug 2017 12:30:22 -0700 Subject: 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. --- ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 14dd0bacbc..6a50d235f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2017-08-04 H.J. Lu + + * 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 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED. -- cgit v1.2.3