Bring MODE=tiny binary sizes down to 20kb minimum

aarch64 binaries start at 4kb.
This commit is contained in:
Justine Tunney 2023-05-10 03:38:43 -07:00
parent 5f57fc1f59
commit f312f706f4
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
8 changed files with 27 additions and 10 deletions

View file

@ -48,6 +48,8 @@
#include "libc/thread/tls.h"
#include "third_party/dlmalloc/dlmalloc.h"
#ifdef __x86_64__
STATIC_YOINK("_init_asan");
#if IsModeDbg()
@ -1497,3 +1499,5 @@ __attribute__((__constructor__)) void __asan_init(int argc, char **argv,
STRACE("/_/ \\_\\____/_/ \\_\\_| \\_|");
STRACE("cosmopolitan memory safety module initialized");
}
#endif /* __x86_64__ */