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
263 B
14 lines
263 B
__asm__(
|
|
".global " START "\n"
|
|
".type " START ",%function\n"
|
|
START ":\n"
|
|
" mov x29, #0\n"
|
|
" mov x30, #0\n"
|
|
" mov x0, sp\n"
|
|
".weak _DYNAMIC\n"
|
|
".hidden _DYNAMIC\n"
|
|
" adrp x1, _DYNAMIC\n"
|
|
" add x1, x1, #:lo12:_DYNAMIC\n"
|
|
" and sp, x0, #-16\n"
|
|
" b " START "_c\n"
|
|
);
|
|
|