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 /sysdeps/x86_64/wcschr.S | |
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 'sysdeps/x86_64/wcschr.S')
0 files changed, 0 insertions, 0 deletions