mirror of https://git.musl-libc.org/git/musl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
276 B
16 lines
276 B
__asm__(
|
|
".text\n"
|
|
".weak _DYNAMIC \n"
|
|
".hidden _DYNAMIC \n"
|
|
".global " START "\n"
|
|
START ":\n"
|
|
" xor %ebp,%ebp \n"
|
|
" mov %esp,%eax \n"
|
|
" and $-16,%esp \n"
|
|
" push %eax \n"
|
|
" push %eax \n"
|
|
" call 1f \n"
|
|
"1: addl $_DYNAMIC-1b,(%esp) \n"
|
|
" push %eax \n"
|
|
" call " START "_c \n"
|
|
);
|
|
|