cosmopolitan/libc/elf
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
..
struct Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
def.h Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
elf.h Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
elf.mk Improve dead code elimination 2021-02-08 04:04:42 -08:00
getelfdynstringtable.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
getelfdynsymboltable.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
getelfsectionaddress.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
getelfsectionheaderaddress.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
getelfsectionname.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
getelfsectionnamestringtable.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
getelfsegmentheaderaddress.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
getelfstring.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
getelfstringtable.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
getelfstrs.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
getelfsymboltable.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
getelfvirtualaddressrange.c Change license 2020-12-27 17:18:44 -08:00
iself64binary.c Change license 2020-12-27 17:18:44 -08:00
iselfsymbolcontent.c Change license 2020-12-27 17:18:44 -08:00
pf2prot.internal.h Improve signals and memory protection 2022-04-12 22:11:00 -07:00
scalar.h Make improvements 2022-05-24 10:58:48 -07:00
tinyelf.internal.h Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00