mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 06:48: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
|
@ -15,7 +15,7 @@
|
|||
* risk of slowing down builds too much with complicated headers.
|
||||
*/
|
||||
|
||||
.macro .scall name:req amd:req arm_linux:req arm_xnu:req kw1 kw2
|
||||
.macro .scall name:req amd:req arm_linux:req arm_xnu:req arm_freebsd:req kw1 kw2
|
||||
.section .text.syscall,"ax",@progbits
|
||||
#ifdef __x86_64__
|
||||
.ifnb \kw2
|
||||
|
@ -38,6 +38,7 @@
|
|||
.ftrace1
|
||||
\name: .ftrace2
|
||||
mov x8,#\arm_linux
|
||||
mov x9,#\arm_freebsd
|
||||
mov x16,#\arm_xnu
|
||||
b systemfive
|
||||
.endfn \name,\kw1,\kw2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue