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