mirror of git://git.musl-libc.org/musl
make ldso asm more uniform with rest of codebase (no unnecessary suffixes)
This commit is contained in:
parent
779165e6d4
commit
d19adeec52
|
@ -1,19 +1,19 @@
|
|||
.text
|
||||
.global _start
|
||||
_start:
|
||||
xorl %ebp,%ebp
|
||||
popl %ecx
|
||||
movl %esp,%eax
|
||||
andl $-16,%esp
|
||||
movl %eax,%esi
|
||||
movl %ecx,%edi
|
||||
pushl %ebp
|
||||
xor %ebp,%ebp
|
||||
pop %ecx
|
||||
mov %esp,%eax
|
||||
and $-16,%esp
|
||||
mov %eax,%esi
|
||||
mov %ecx,%edi
|
||||
push %ebp
|
||||
call 1f
|
||||
1: addl $_GLOBAL_OFFSET_TABLE_,(%esp)
|
||||
pushl %eax
|
||||
pushl %ecx
|
||||
push %eax
|
||||
push %ecx
|
||||
call __dynlink
|
||||
movl %esi,%esp
|
||||
pushl %edi
|
||||
xorl %edx,%edx
|
||||
mov %esi,%esp
|
||||
push %edi
|
||||
xor %edx,%edx
|
||||
jmp *%eax
|
||||
|
|
Loading…
Reference in New Issue