projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add IPPROTO_HOPOPTS to in.h
[musl]
/
src
/
ldso
/
i386
/
start.s
diff --git
a/src/ldso/i386/start.s
b/src/ldso/i386/start.s
index
8e6a777
..
b16f8af
100644
(file)
--- a/
src/ldso/i386/start.s
+++ b/
src/ldso/i386/start.s
@@
-2,18
+2,21
@@
.global _start
_start:
xor %ebp,%ebp
.global _start
_start:
xor %ebp,%ebp
- pop %e
cx
- mov %esp,%e
ax
+ pop %e
di
+ mov %esp,%e
si
and $-16,%esp
and $-16,%esp
- mov %eax,%esi
- mov %ecx,%edi
push %ebp
push %ebp
- call 1f
-1: addl $_GLOBAL_OFFSET_TABLE_,(%esp)
- push %eax
- push %ecx
+ push %ebp
+ push %esi
+ push %edi
call __dynlink
mov %esi,%esp
call __dynlink
mov %esi,%esp
+1: dec %edi
+ pop %esi
+ cmp $-1,%esi
+ jz 1b
+ inc %edi
+ push %esi
push %edi
xor %edx,%edx
jmp *%eax
push %edi
xor %edx,%edx
jmp *%eax