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.
14 lines
254 B
14 lines
254 B
__asm__(
|
|
".text\n"
|
|
".weak _DYNAMIC \n"
|
|
".hidden _DYNAMIC \n"
|
|
".global " START "\n"
|
|
START ":\n"
|
|
" suba.l %fp,%fp \n"
|
|
" movea.l %sp,%a0 \n"
|
|
" lea _DYNAMIC-.-8,%a1 \n"
|
|
" pea (%pc,%a1) \n"
|
|
" pea (%a0) \n"
|
|
" lea " START "_c-.-8,%a1 \n"
|
|
" jsr (%pc,%a1) \n"
|
|
);
|
|
|