mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-27 15:52:28 +00:00
Disable linker map generation and improve tinyness
This commit is contained in:
parent
23e235b7a5
commit
4b2023ffab
39 changed files with 119 additions and 121 deletions
|
@ -135,6 +135,7 @@ textstartup void cosmo(long *sp, struct Syslib *m1) {
|
|||
_mmi.p->y = (uintptr_t)(GetStackAddr() + (GetStackSize() - FRAMESIZE)) >> 16;
|
||||
_mmi.p->size = GetStackSize();
|
||||
_mmi.p->prot = PROT_READ | PROT_WRITE;
|
||||
__virtualmax = -1;
|
||||
|
||||
#if 0
|
||||
#if IsAsan()
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
static char stacklog[1024];
|
||||
|
||||
size_t GetStackUsage(char *s, size_t n) {
|
||||
noasan size_t GetStackUsage(char *s, size_t n) {
|
||||
// RHEL5 MAP_GROWSDOWN seems to only grow to 68kb :'(
|
||||
// So we count non-zero bytes down from the top
|
||||
// First clear 64 bytes is considered the end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue