cosmopolitan/ape
Jōshin 14fe83facd
aarch64 loader passes os (#1042)
* Reorder Launch arguments, pass aarch64 os

Third and fourth arguments are now identical between cosmo and Launch.
By passing sp as argument 4, we save a bit of register juggling.

Fourth argument (os) is now always passed by the loader on aarch64. It
is not yet processed by cosmo. Pushing this change separately, as the
cosmo side turns out to be somewhat more involved.

* cosmo2 receives os from loader

FreeBSD aarch64 now traps early rather than pretending to be Linux.
o/aarch64/examples/env.com still works on Linux and Xnu.
2023-12-31 06:42:36 -08:00
..
public Improve open source compatibility 2022-09-08 03:19:35 -07:00
aarch64.lds more modeline errata (#1019) 2023-12-16 23:07:10 -05:00
ape-m1.c aarch64 loader passes os (#1042) 2023-12-31 06:42:36 -08:00
ape.h Mint APE Loader v1.9 2023-11-05 13:11:34 -08:00
ape.internal.h Get aarch64 hello world working 2023-05-10 04:20:47 -07:00
ape.lds more modeline errata (#1019) 2023-12-16 23:07:10 -05:00
ape.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
apeinstall.sh Redesign cosmocc toolchain 2023-11-11 14:18:08 -08:00
apeuninstall.sh Redesign cosmocc toolchain 2023-11-11 14:18:08 -08:00
blink-linux-aarch64.gz Make blink support conditionally linkable into APE 2023-06-17 07:55:35 -07:00
blink-xnu-aarch64.gz Make blink support conditionally linkable into APE 2023-06-17 07:55:35 -07:00
BUILD.mk Introduce FreeBSD ARM64 support 2023-12-29 20:14:02 -08:00
idata.internal.h flip et / noet in modelines 2023-12-07 22:17:11 -05:00
launch.S aarch64 loader passes os (#1042) 2023-12-31 06:42:36 -08:00
loader-macho.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
loader.c aarch64 loader passes os (#1042) 2023-12-31 06:42:36 -08:00
loader.lds more modeline errata (#1019) 2023-12-16 23:07:10 -05:00
macros.internal.h flip et / noet in modelines 2023-12-07 22:17:11 -05:00
mz.ansi Initial import 2020-06-15 07:18:57 -07:00
notice.inc Initial import 2020-06-15 07:18:57 -07:00
relocations.h Optimize memory layout 2022-09-12 04:26:52 -07:00
sections.internal.h Add <link.h> for absl 2023-12-08 20:04:10 -08:00
start.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
systemcall.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00