Skip to content

Commit ed8955c

Browse files
authored
Merge pull request #22049 from alexrp/musl-gen-stubs
`gen_stubs`: No compiler-rt hacks, more compact output, and more arch support
2 parents 4aa6246 + 67e524d commit ed8955c

File tree

9 files changed

+388
-744
lines changed

9 files changed

+388
-744
lines changed

lib/libc/musl/arch/i386/crt_arch.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ __asm__(
33
".weak _DYNAMIC \n"
44
".hidden _DYNAMIC \n"
55
".global " START "\n"
6+
".type " START ",%function \n"
67
START ":\n"
78
" xor %ebp,%ebp \n"
89
" mov %esp,%eax \n"

lib/libc/musl/arch/x86_64/crt_arch.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
__asm__(
22
".text \n"
33
".global " START " \n"
4+
".type " START ",%function \n"
45
START ": \n"
56
" xor %rbp,%rbp \n"
67
" mov %rsp,%rdi \n"

0 commit comments

Comments
 (0)