]> sourceware.org Git - glibc.git/commitdiff
i386/clone.S: Remove redundant EBX load
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 14 Feb 2021 03:02:53 +0000 (19:02 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 22 Feb 2021 12:29:19 +0000 (04:29 -0800)
There is no neeed for

call L(here)
L(here):
popl %ebx
addl $_GLOBAL_OFFSET_TABLE_+[.-L(here)], %ebx

before

movl %eax, %ebx

sysdeps/unix/sysv/linux/i386/clone.S

index 91c4b65fea8c1d924b9f3521980c96ec23ae1beb..8ec84491bb567a2de27ee29cfde34c0acf238e48 100644 (file)
@@ -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
This page took 0.044684 seconds and 5 git commands to generate.