cosmopolitan/libc/zipos
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
..
.cosmo Make fixes and improvements 2022-10-19 07:19:19 -07:00
access.c Introduce #include <cosmo.h> to toolchain users 2023-06-09 18:03:05 -07:00
close.c Add torture test for zipos file descriptors 2022-06-15 16:29:49 -07:00
fcntl.c Introduce #include <cosmo.h> to toolchain users 2023-06-09 18:03:05 -07:00
find.c Introduce #include <cosmo.h> to toolchain users 2023-06-09 18:03:05 -07:00
free.c Serialize ZipOS handle IO across threads 2023-02-23 06:55:10 -08:00
fstat.c Introduce #include <cosmo.h> to toolchain users 2023-06-09 18:03:05 -07:00
get.c Introduce #include <cosmo.h> to toolchain users 2023-06-09 18:03:05 -07:00
lock.c Implement pthread_atfork() 2022-10-16 12:25:13 -07:00
lseek.c Introduce #include <cosmo.h> to toolchain users 2023-06-09 18:03:05 -07:00
mmap.c Improve cosmocc toolchain 2023-03-05 23:52:49 -08:00
notat.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
open.c Introduce #include <cosmo.h> to toolchain users 2023-06-09 18:03:05 -07:00
parseuri.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
read.c Introduce #include <cosmo.h> to toolchain users 2023-06-09 18:03:05 -07:00
stat-impl.c Introduce #include <cosmo.h> to toolchain users 2023-06-09 18:03:05 -07:00
stat.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
zipos.internal.h Serialize ZipOS handle IO across threads 2023-02-23 06:55:10 -08:00
zipos.mk Get llama.com building as an aarch64 native binary 2023-05-10 04:20:47 -07:00
zipos.S Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00