mirror of
https://github.com/fluencelabs/musl
synced 2025-06-15 07:51:42 +00:00
make ldso asm more uniform with rest of codebase (no unnecessary suffixes)
This commit is contained in:
@ -1,19 +1,19 @@
|
|||||||
.text
|
.text
|
||||||
.global _start
|
.global _start
|
||||||
_start:
|
_start:
|
||||||
xorl %ebp,%ebp
|
xor %ebp,%ebp
|
||||||
popl %ecx
|
pop %ecx
|
||||||
movl %esp,%eax
|
mov %esp,%eax
|
||||||
andl $-16,%esp
|
and $-16,%esp
|
||||||
movl %eax,%esi
|
mov %eax,%esi
|
||||||
movl %ecx,%edi
|
mov %ecx,%edi
|
||||||
pushl %ebp
|
push %ebp
|
||||||
call 1f
|
call 1f
|
||||||
1: addl $_GLOBAL_OFFSET_TABLE_,(%esp)
|
1: addl $_GLOBAL_OFFSET_TABLE_,(%esp)
|
||||||
pushl %eax
|
push %eax
|
||||||
pushl %ecx
|
push %ecx
|
||||||
call __dynlink
|
call __dynlink
|
||||||
movl %esi,%esp
|
mov %esi,%esp
|
||||||
pushl %edi
|
push %edi
|
||||||
xorl %edx,%edx
|
xor %edx,%edx
|
||||||
jmp *%eax
|
jmp *%eax
|
||||||
|
Reference in New Issue
Block a user