cosmopolitan/tool/build
Justine Tunney 6ffed14b9c
Rewrite memory manager
Actually Portable Executable now supports Android. Cosmo's old mmap code
required a 47 bit address space. The new implementation is very agnostic
and supports both smaller address spaces (e.g. embedded) and even modern
56-bit PML5T paging for x86 which finally came true on Zen4 Threadripper

Cosmopolitan no longer requires UNIX systems to observe the Windows 64kb
granularity; i.e. sysconf(_SC_PAGE_SIZE) will now report the host native
page size. This fixes a longstanding POSIX conformance issue, concerning
file mappings that overlap the end of file. Other aspects of conformance
have been improved too, such as the subtleties of address assignment and
and the various subtleties surrounding MAP_FIXED and MAP_FIXED_NOREPLACE

On Windows, mappings larger than 100 megabytes won't be broken down into
thousands of independent 64kb mappings. Support for MAP_STACK is removed
by this change; please use NewCosmoStack() instead.

Stack overflow avoidance is now being implemented using the POSIX thread
APIs. Please use GetStackBottom() and GetStackAddr(), instead of the old
error-prone GetStackAddr() and HaveStackMemory() APIs which are removed.
2024-06-22 05:45:11 -07:00
..
dso Support 40 cosmo_dlopen() function parameters 2024-01-04 13:41:26 -08:00
lib Rewrite memory manager 2024-06-22 05:45:11 -07:00
apelink.c Introduce libc/mem/tinymalloc.inc 2024-05-07 03:19:49 -07:00
ar.c Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
assimilate.c Introduce libc/mem/tinymalloc.inc 2024-05-07 03:19:49 -07:00
bigmul.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
BUILD.mk Implement proper time zone support 2024-05-04 23:06:37 -07:00
chmod.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
cocmd.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
compile.c Increase tinymalloc granularity 2024-05-29 18:26:01 -07:00
cp.c Introduce libc/mem/tinymalloc.inc 2024-05-07 03:19:49 -07:00
dd.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
dlopen_test.c Support 40 cosmo_dlopen() function parameters 2024-01-04 13:41:26 -08:00
dropcache.c Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
echo.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
elf2pe.c Introduce libc/mem/tinymalloc.inc 2024-05-07 03:19:49 -07:00
elf2pe.h Introduce new linker for fat ape binaries 2023-08-11 04:39:19 -07:00
false.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fastdiff.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
findape.c Make improvements 2024-02-12 10:23:00 -08:00
findelf.c Make improvements 2024-02-12 10:23:00 -08:00
findpe.c Make improvements 2024-02-12 10:23:00 -08:00
fixupobj.c Loaders rewrite argv[0] for old binaries (#1170) 2024-05-07 20:42:18 -04:00
freebsd2sysv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
gzip.c Introduce libc/mem/tinymalloc.inc 2024-05-07 03:19:49 -07:00
helpop.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
killall.c Introduce libc/mem/tinymalloc.inc 2024-05-07 03:19:49 -07:00
lz4toasm.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
march-native.c Improve -march=native micro-architecture detection 2024-05-29 10:12:49 -07:00
mkdeps.c Introduce libc/mem/tinymalloc.inc 2024-05-07 03:19:49 -07:00
mkdir.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mktemper.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mv.c Introduce libc/mem/tinymalloc.inc 2024-05-07 03:19:49 -07:00
nproc.c Cull the examples folder 2023-10-11 21:45:32 -07:00
objbincopy.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
package.c Introduce libc/mem/tinymalloc.inc 2024-05-07 03:19:49 -07:00
pecheck.c Introduce libc/mem/tinymalloc.inc 2024-05-07 03:19:49 -07:00
pledge.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
printf.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pwd.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
reboot.c Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
resymbol.c Introduce libc/mem/tinymalloc.inc 2024-05-07 03:19:49 -07:00
rm.c Introduce libc/mem/tinymalloc.inc 2024-05-07 03:19:49 -07:00
rollup.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
runit.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
runit.h Fix bugs and add security features to redbean 2022-04-18 00:01:26 -07:00
runitd.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
sha256sum.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
shutdown.c Cull the examples folder 2023-10-11 21:45:32 -07:00
summy.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
symtab.c Introduce libc/mem/tinymalloc.inc 2024-05-07 03:19:49 -07:00
touch.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
unbuffer.c Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
unveil.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
verynice.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
zipcopy.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
zipobj.c Implement proper time zone support 2024-05-04 23:06:37 -07:00