i386: Honor I386_USE_SYSENTER for 6-argument Linux system calls
commit60f0f2130d30cfd008ca39743027f1e200592dff
authorFlorian Weimer <fweimer@redhat.com>
Wed, 4 May 2022 13:37:21 +0000 (4 15:37 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 4 May 2022 13:37:21 +0000 (4 15:37 +0200)
tree1c4f8ead32c821c8b70cbc6ea71687e1976976d6
parent6e5c7a1e262961adb52443ab91bd2c9b72316402
i386: Honor I386_USE_SYSENTER for 6-argument Linux system calls

Introduce an int-80h-based version of __libc_do_syscall and use
it if I386_USE_SYSENTER is defined as 0.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
sysdeps/unix/sysv/linux/i386/Makefile
sysdeps/unix/sysv/linux/i386/libc-do-syscall-int80.S [new file with mode: 0644]
sysdeps/unix/sysv/linux/i386/sysdep.h