You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.0 KiB
32 lines
1.0 KiB
2 years ago
|
commit 1e7b011f87c653ad109b34e675f64e7a5cc3805a
|
||
|
Author: Florian Weimer <fweimer@redhat.com>
|
||
|
Date: Wed May 4 15:37:21 2022 +0200
|
||
|
|
||
|
i386: Remove OPTIMIZE_FOR_GCC_5 from Linux libc-do-syscall.S
|
||
|
|
||
|
After commit a78e6a10d0b50d0ca80309775980fc99944b1727
|
||
|
("i386: Remove broken CAN_USE_REGISTER_ASM_EBP (bug 28771)"),
|
||
|
it is never defined.
|
||
|
|
||
|
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
|
||
|
(cherry picked from commit 6e5c7a1e262961adb52443ab91bd2c9b72316402)
|
||
|
|
||
|
diff --git a/sysdeps/unix/sysv/linux/i386/libc-do-syscall.S b/sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
|
||
|
index c95f297d6f0217ef..404435f0123b23b3 100644
|
||
|
--- a/sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
|
||
|
+++ b/sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
|
||
|
@@ -18,8 +18,6 @@
|
||
|
|
||
|
#include <sysdep.h>
|
||
|
|
||
|
-#ifndef OPTIMIZE_FOR_GCC_5
|
||
|
-
|
||
|
/* %eax, %ecx, %edx and %esi contain the values expected by the kernel.
|
||
|
%edi points to a structure with the values of %ebx, %edi and %ebp. */
|
||
|
|
||
|
@@ -50,4 +48,3 @@ ENTRY (__libc_do_syscall)
|
||
|
cfi_restore (ebx)
|
||
|
ret
|
||
|
END (__libc_do_syscall)
|
||
|
-#endif
|