cosmopolitan/build/bootstrap
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
..
ape.elf Fix WSL regression with APE loader 2022-06-11 05:17:26 -07:00
ape.macho Put ape.macho back in build/bootstrap 2022-08-15 15:45:13 -07:00
ar.com Avoid sandboxing directory prerequisites 2022-08-19 13:02:25 -07:00
chmod.com Fix MODE=aarch64 build 2023-06-08 05:17:37 -07:00
cocmd.com Make fixes and improvements 2022-11-08 10:11:46 -08:00
compile.com Rebuild compile.com 2022-09-13 01:50:20 -07:00
cp.com Work around Landlock output inode in compile.com 2022-08-09 07:55:44 -07:00
echo.com Fix some regressions with execution 2022-08-07 22:10:18 -07:00
fixupobj.com Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
gzip.com Get aarch64 hello world working 2023-05-10 04:20:47 -07:00
make.com Make fixes and improvements 2022-10-19 07:19:19 -07:00
mkdeps.com Make mkdeps more helpful when files are missing 2023-02-23 08:11:08 -08:00
mkdir.com Fix some regressions with execution 2022-08-07 22:10:18 -07:00
package.com Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
pwd.com Fix some regressions with execution 2022-08-07 22:10:18 -07:00
rm.com Fix some regressions with execution 2022-08-07 22:10:18 -07:00
touch.com Fix some regressions with execution 2022-08-07 22:10:18 -07:00
unbundle.com Fix some regressions with execution 2022-08-07 22:10:18 -07:00
zipcopy.com Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
zipobj.com Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00