mirror of
https://github.com/fluencelabs/musl
synced 2025-07-01 07:32:04 +00:00
remove all .size and .type directives for functions from the asm
these are useless and have caused problems for users trying to build with non-gnu tools like tcc's assembler.
This commit is contained in:
@ -1,15 +1,10 @@
|
||||
.global __restore
|
||||
.type __restore,%function
|
||||
__restore:
|
||||
popl %eax
|
||||
movl $119, %eax
|
||||
int $0x80
|
||||
.size __restore,.-__restore
|
||||
|
||||
.global __restore_rt
|
||||
.type __restore_rt,%function
|
||||
__restore_rt:
|
||||
movl $173, %eax
|
||||
int $0x80
|
||||
.size __restore_rt,.-__restore_rt
|
||||
|
||||
|
@ -1,11 +1,6 @@
|
||||
.global __restore_rt
|
||||
.global __restore
|
||||
.type __restore_rt,%function
|
||||
.type __restore,%function
|
||||
__restore_rt:
|
||||
__restore:
|
||||
movl $15, %eax
|
||||
syscall
|
||||
.size __restore_rt,.-__restore_rt
|
||||
.size __restore,.-__restore
|
||||
|
||||
|
Reference in New Issue
Block a user