cosmopolitan/libc/fmt
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
..
__xpg_strerror_r.c Unbloat the build 2022-08-11 00:15:29 -07:00
atoi.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
atol.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
basename.c Make improvements 2022-07-21 03:36:42 -07:00
bing.c Make unbing() not need initialization 2022-10-07 14:56:02 -07:00
bing.internal.h Enhance chibicc 2020-12-09 04:00:48 -08:00
conv.h Get GCC to mostly build with Cosmo 2023-06-09 06:41:34 -07:00
dirname.c Fix basename() and dirname() 2022-04-06 00:13:44 -07:00
div.c Create ELF aliases for identical symbols 2023-06-06 03:33:49 -07:00
divmod10.internal.h Make improvements 2022-03-16 13:40:10 -07:00
fmt.c Fix bugs in cosmocc toolchain 2023-06-08 23:44:03 -07:00
fmt.h Get GCC to mostly build with Cosmo 2023-06-09 06:41:34 -07:00
fmt.internal.h Fix some more issues with aarch64 and llama.cpp 2023-05-10 07:34:26 -07:00
fmt.mk Get --ftrace working on aarch64 2023-06-05 23:35:31 -07:00
formatbinary64.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
formatflex64.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
formathex64.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
formatint64thousands.c Add torture test for zipos file descriptors 2022-06-15 16:29:49 -07:00
formatoctal32.c Do code cleanup use duff device linenoise i/o 2022-04-22 18:56:52 -07:00
formatoctal64.c Polish redbean serialization 2022-04-29 06:10:10 -07:00
internal.h Support proper %g, %f, and %a float formatting 2021-03-05 10:31:16 -08:00
itoa.c Support proper %g, %f, and %a float formatting 2021-03-05 10:31:16 -08:00
itoa.h Create ELF aliases for identical symbols 2023-06-06 03:33:49 -07:00
itoa64.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
itoa64fixed16.greg.c Fix bugs and make code tinier 2022-10-09 23:21:34 -07:00
itoa64radix8.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
itoa64radix16.greg.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
itoa128radix10.greg.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
joinpaths.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
ldiv.c Create ELF aliases for identical symbols 2023-06-06 03:33:49 -07:00
leb128.h Create ELF aliases for identical symbols 2023-06-06 03:33:49 -07:00
magnumstrs.internal.h Disable linker map generation and improve tinyness 2023-06-09 03:29:26 -07:00
ntoa.c Fix some more issues with aarch64 and llama.cpp 2023-05-10 07:34:26 -07:00
pad.c Make more fixes and improvements 2022-04-21 13:44:59 -07:00
pflink.h Get GCC to mostly build with Cosmo 2023-06-09 06:41:34 -07:00
sizetol.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
sleb64.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
sleb128.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
snprintf.c Support proper %g, %f, and %a float formatting 2021-03-05 10:31:16 -08:00
sprintf.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
sscanf.c Change license 2020-12-27 17:18:44 -08:00
stoa.c Make important improvements 2022-09-14 22:39:08 -07:00
strerror.c Disable linker map generation and improve tinyness 2023-06-09 03:29:26 -07:00
strerror_r.c Make improvements 2022-08-15 15:20:36 -07:00
stripext.c Make numerous improvements 2021-09-28 01:52:34 -07:00
stripexts.c Add SNI support to redbean and improve SSL perf 2021-07-23 13:56:13 -07:00
strtoi128.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
strtol.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
strtol.internal.h Greatly expand system() shell code features 2022-10-11 21:30:31 -07:00
strtonum.c Change license 2020-12-27 17:18:44 -08:00
strtou128.c Make important improvements 2022-09-14 22:39:08 -07:00
strtoul.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
swprintf.c Fix bugs and make code tinier 2022-10-09 23:21:34 -07:00
uleb64.c Add Compress() and Uncompress() to redbean 2022-05-16 16:49:20 -07:00
uleb128.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
unbing.c Make unbing() not need initialization 2022-10-07 14:56:02 -07:00
unhexbuf.c Fix bugs and make code tinier 2022-10-09 23:21:34 -07:00
unsleb128.c Change license 2020-12-27 17:18:44 -08:00
unuleb64.c Add Compress() and Uncompress() to redbean 2022-05-16 16:49:20 -07:00
unzleb64.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
vcscanf.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
vsnprintf.c Fix memcpy(size=0) ubsan warning in vsnprintf() 2023-03-29 01:28:10 -07:00
vsprintf.c Support proper %g, %f, and %a float formatting 2021-03-05 10:31:16 -08:00
vsscanf.c Change license 2020-12-27 17:18:44 -08:00
wcstoi128.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
wcstol.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
wcstou128.c Make important improvements 2022-09-14 22:39:08 -07:00
wcstoul.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
zleb64.c Support Linux binfmt_misc and APE loading on Apple 2022-05-21 09:28:25 -07:00
zleb128.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00