Introduce FreeBSD ARM64 support

It's 100% passing test fleet. Solid as a rock.
This commit is contained in:
Justine Tunney 2023-12-29 20:11:23 -08:00
parent 43fe5956ad
commit 83107f78ed
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
455 changed files with 778 additions and 551 deletions

View file

@ -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