076f82
commit 1e7b011f87c653ad109b34e675f64e7a5cc3805a
076f82
Author: Florian Weimer <fweimer@redhat.com>
076f82
Date:   Wed May 4 15:37:21 2022 +0200
076f82
076f82
    i386: Remove OPTIMIZE_FOR_GCC_5 from Linux libc-do-syscall.S
076f82
    
076f82
    After commit a78e6a10d0b50d0ca80309775980fc99944b1727
076f82
    ("i386: Remove broken CAN_USE_REGISTER_ASM_EBP (bug 28771)"),
076f82
    it is never defined.
076f82
    
076f82
    Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
076f82
    (cherry picked from commit 6e5c7a1e262961adb52443ab91bd2c9b72316402)
076f82
076f82
diff --git a/sysdeps/unix/sysv/linux/i386/libc-do-syscall.S b/sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
076f82
index c95f297d6f0217ef..404435f0123b23b3 100644
076f82
--- a/sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
076f82
+++ b/sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
076f82
@@ -18,8 +18,6 @@
076f82
 
076f82
 #include <sysdep.h>
076f82
 
076f82
-#ifndef OPTIMIZE_FOR_GCC_5
076f82
-
076f82
 /* %eax, %ecx, %edx and %esi contain the values expected by the kernel.
076f82
    %edi points to a structure with the values of %ebx, %edi and %ebp.  */
076f82
 
076f82
@@ -50,4 +48,3 @@ ENTRY (__libc_do_syscall)
076f82
 	cfi_restore (ebx)
076f82
 	ret
076f82
 END (__libc_do_syscall)
076f82
-#endif