mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 03:08:31 +00:00
Introduce FreeBSD ARM64 support
It's 100% passing test fleet. Solid as a rock.
This commit is contained in:
parent
43fe5956ad
commit
83107f78ed
455 changed files with 778 additions and 551 deletions
|
@ -125,6 +125,11 @@ _start:
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#elif defined(__aarch64__)
|
||||
|
||||
#if SupportsFreebsd()
|
||||
// save first arg
|
||||
mov x3,x0
|
||||
#endif
|
||||
|
||||
// save original stack pointer
|
||||
// this is the first argument to cosmo() below
|
||||
mov x0,sp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue