From: H.J. Lu Date: Sun, 14 Feb 2021 03:02:53 +0000 (-0800) Subject: i386/clone.S: Remove redundant EBX load X-Git-Tag: glibc-2.34~925 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=f8ff5a3cc2e401c586244bbdc27ea236229b7cb7;p=glibc.git i386/clone.S: Remove redundant EBX load There is no neeed for call L(here) L(here): popl %ebx addl $_GLOBAL_OFFSET_TABLE_+[.-L(here)], %ebx before movl %eax, %ebx --- diff --git a/sysdeps/unix/sysv/linux/i386/clone.S b/sysdeps/unix/sysv/linux/i386/clone.S index 91c4b65fea..8ec84491bb 100644 --- a/sysdeps/unix/sysv/linux/i386/clone.S +++ b/sysdeps/unix/sysv/linux/i386/clone.S @@ -106,12 +106,6 @@ L(thread_start): /* Note: %esi is zero. */ movl %esi,%ebp /* terminate the stack frame */ call *%ebx -#ifdef PIC - call L(here) -L(here): - popl %ebx - addl $_GLOBAL_OFFSET_TABLE_+[.-L(here)], %ebx -#endif movl %eax, %ebx movl $SYS_ify(exit), %eax ENTER_KERNEL