cosmopolitan/libc/mem
Justine Tunney 9f68d6eee9 Fix link order in cosmopolitan.a
It turned out that the linker was doing the wrong with the amalgamation
library concerning weak stubs. A regression test has been added and new
binaries have been uploaded to https://justine.lol/cosmopolitan/

Ideally this should be fixed by building a tool that turns multiple .a
files into a single .a file with deduplication. As a workaround for now
the cosmopolitan.a build is restructured to not include LIBC_STUBS which
meant technical debt needed to be paid off where non-stub interfaces
were moved to LIBC_INTRIN and LIBC_NEXGEN32E.

Thank @PerfectProductions in #31 for the report!
2021-01-16 12:05:41 -08:00
..
cxx Change license 2020-12-27 17:18:44 -08:00
hook Change license 2020-12-27 17:18:44 -08:00
alloca.h Initial import 2020-06-15 07:18:57 -07:00
asprintf.c Change license 2020-12-27 17:18:44 -08:00
balloc.c Change license 2020-12-27 17:18:44 -08:00
bfree.c Change license 2020-12-27 17:18:44 -08:00
calloc.S Change license 2020-12-27 17:18:44 -08:00
free.S Change license 2020-12-27 17:18:44 -08:00
internal.h Improve documentation 2020-12-27 07:02:35 -08:00
malloc.S Change license 2020-12-27 17:18:44 -08:00
malloc_trim.c Change license 2020-12-27 17:18:44 -08:00
malloc_usable_size.S Change license 2020-12-27 17:18:44 -08:00
mem.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
mem.mk Fix link order in cosmopolitan.a 2021-01-16 12:05:41 -08:00
memalign.S Change license 2020-12-27 17:18:44 -08:00
posix_memalign.S Change license 2020-12-27 17:18:44 -08:00
putenv.c Change license 2020-12-27 17:18:44 -08:00
pvalloc.S Change license 2020-12-27 17:18:44 -08:00
realloc.S Change license 2020-12-27 17:18:44 -08:00
realloc_in_place.S Change license 2020-12-27 17:18:44 -08:00
reallocarray.c Change license 2020-12-27 17:18:44 -08:00
setenv.c Change license 2020-12-27 17:18:44 -08:00
strdup.c Change license 2020-12-27 17:18:44 -08:00
strndup.c Change license 2020-12-27 17:18:44 -08:00
unhexstr.c Change license 2020-12-27 17:18:44 -08:00
valloc.S Change license 2020-12-27 17:18:44 -08:00
vasprintf.c Change license 2020-12-27 17:18:44 -08:00
wcsdup.c Change license 2020-12-27 17:18:44 -08:00