mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-05 02:38:31 +00:00
Introduce native support for MacOS ARM64
There's a new program named ape/ape-m1.c which will be used to build an embeddable binary that can load ape and elf executables. The support is mostly working so far, but still chasing down ABI issues.
This commit is contained in:
parent
b852650c08
commit
1422e96b4e
757 changed files with 2988 additions and 1321 deletions
|
@ -66,7 +66,7 @@ kHalfCache3:
|
|||
#else
|
||||
|
||||
.rodata
|
||||
.align 8
|
||||
.balign 8
|
||||
kHalfCache3:
|
||||
.quad 4 * 1024 * 1024
|
||||
.endobj kHalfCache3,globl
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
*/
|
||||
int __threaded;
|
||||
|
||||
#ifdef __x86_64__
|
||||
bool __tls_enabled;
|
||||
#endif
|
||||
|
||||
unsigned __tls_index;
|
||||
|
|
|
@ -38,7 +38,8 @@ __zip_end:
|
|||
.short v_zip_records // number of records on disk
|
||||
.short v_zip_records // records
|
||||
.long v_zip_cdirsize // size of central directory
|
||||
.long RVA(__zip_start) // central directory offset
|
||||
.weak v_zip_cdoffset
|
||||
.long v_zip_cdoffset // central directory offset
|
||||
.short v_zip_commentsize // comment size
|
||||
.endobj __zip_end,globl,hidden
|
||||
.weak v_zip_records
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue