musl/arch/aarch64/crt_arch.h
Szabolcs Nagy 01ef3dd9c5 add aarch64 port
This adds complete aarch64 target support including bigendian subarch.

Some of the long double math functions are known to be broken otherwise
interfaces should be fully functional, but at this point consider this
port experimental.

Initial work on this port was done by Sireesh Tripurari and Kevin Bortis.
2015-03-11 20:12:35 -04:00

10 lines
157 B
C

__asm__(
".global _start\n"
".type _start,%function\n"
"_start:\n"
" mov x29, #0\n"
" mov x30, #0\n"
" mov x0, sp\n"
" and sp, x0, #-16\n"
" b __cstart\n");