about summary refs log tree commit diff
path: root/sysdeps/init_array
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-08-04 12:30:22 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-08-04 12:30:38 -0700
commit627c69c838e75d69f46a7cc7dd2bafca03adbf60 (patch)
tree3a25ac1244ad02a10fa644d20f207c5c188a792d /sysdeps/init_array
parentfc11ff8d0acebbf0802854156d45cb1d8bb7c079 (diff)
downloadglibc-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/init_array')
0 files changed, 0 insertions, 0 deletions