mirror of https://git.musl-libc.org/git/musl
Browse Source
this seems to be necessary to make the linker accept the functions in a shared library (perhaps to generate PLT entries?) strictly speaking libc-internal asm should not need it. i might clean that up later.rs-1.0
20 changed files with 29 additions and 0 deletions
@ -1,10 +1,12 @@ |
|||||
.global __restore |
.global __restore |
||||
|
.type __restore,@function |
||||
__restore: |
__restore: |
||||
popl %eax |
popl %eax |
||||
movl $119, %eax |
movl $119, %eax |
||||
int $0x80 |
int $0x80 |
||||
|
|
||||
.global __restore_rt |
.global __restore_rt |
||||
|
.type __restore_rt,@function |
||||
__restore_rt: |
__restore_rt: |
||||
movl $173, %eax |
movl $173, %eax |
||||
int $0x80 |
int $0x80 |
||||
|
|||||
Loading…
Reference in new issue