cosmopolitan/ape
Justine Tunney 8ff48201ca
Rewrite .zip.o file linker
This change takes an entirely new approach to the incremental linking of
pkzip executables. The assets created by zipobj.com are now treated like
debug data. After a .com.dbg is compiled, fixupobj.com should be run, so
it can apply fixups to the offsets and move the zip directory to the end
of the file. Since debug data doesn't get objcopy'd, a new tool has been
introduced called zipcopy.com which should be run after objcopy whenever
a .com file is created. This is all automated by the `cosmocc` toolchain
which is rapidly becoming the new recommended approach.

This change also introduces the new C23 checked arithmetic macros.
2023-06-10 09:29:44 -07:00
..
public Improve open source compatibility 2022-09-08 03:19:35 -07:00
aarch64.lds Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
ape-m1.c Get threads working well on MacOS Arm64 2023-06-04 01:57:10 -07:00
ape.internal.h Get aarch64 hello world working 2023-05-10 04:20:47 -07:00
ape.lds Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
ape.mk Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
ape.S Fix bugs in cosmocc toolchain 2023-06-08 23:44:03 -07:00
apeinstall.sh Introduce new jartsr=' ape prefix 2022-11-10 21:18:32 -08:00
apeuninstall.sh Introduce new jartsr=' ape prefix 2022-11-10 21:18:32 -08:00
blink-aarch64.gz Incorporate Blink 1.0.0 release 2023-06-04 11:07:31 -07:00
blink-darwin-arm64.gz Incorporate Blink 1.0.0 release 2023-06-04 11:07:31 -07:00
idata.internal.h Get LIBC_RUNTIME and LIBC_CALLS building on aarch64 2023-05-10 04:20:47 -07:00
loader-elf.S Introduce #include <cosmo.h> to toolchain users 2023-06-09 18:03:05 -07:00
loader-macho.lds Write tests for new APE loader and fix bugs 2022-05-22 05:45:38 -07:00
loader-macho.S Make progress towards aarch64 build 2023-05-10 04:20:46 -07:00
loader.c Introduce native support for MacOS ARM64 2023-05-20 04:17:03 -07:00
loader.h Introduce #include <cosmo.h> to toolchain users 2023-06-09 18:03:05 -07:00
loader.lds Add .PLEDGE/.CPU/.MEMORY/etc. to Landlock Make 1.2 2022-08-14 20:16:44 -07:00
macros.internal.h [metal] Fix bug: do not initialize IDT & TSS if unneeded (#654) 2022-10-10 20:54:46 -07: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 Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00