aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/i386/clone.S
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-02-13 19:02:53 -0800
committerH.J. Lu <hjl.tools@gmail.com>2021-02-22 04:29:19 -0800
commitf8ff5a3cc2e401c586244bbdc27ea236229b7cb7 (patch)
treeac0b4a4b1ad623aadb5416a98dbddc00e011fee8 /sysdeps/unix/sysv/linux/i386/clone.S
parentfb37ef69602a1ba635268cd9033a86adc817c53d (diff)
downloadglibc-f8ff5a3cc2e401c586244bbdc27ea236229b7cb7.tar
glibc-f8ff5a3cc2e401c586244bbdc27ea236229b7cb7.tar.gz
glibc-f8ff5a3cc2e401c586244bbdc27ea236229b7cb7.tar.bz2
glibc-f8ff5a3cc2e401c586244bbdc27ea236229b7cb7.zip
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
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/clone.S')
-rw-r--r--sysdeps/unix/sysv/linux/i386/clone.S6
1 files changed, 0 insertions, 6 deletions
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