mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-03 09:48:29 +00:00
Exclude strace from MODE=tiny builds
This change gets o/tinylinux/examples/hello2.com back down to 8kb in size which had been unintentionally bloated to 40kb in recent months See #965
This commit is contained in:
parent
b7e1dc81c2
commit
2b960bb249
18 changed files with 46 additions and 33 deletions
|
@ -55,7 +55,7 @@ vfork:
|
|||
#if !IsTiny()
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
#ifdef SYSDEBUG
|
||||
#if SYSDEBUG
|
||||
ezlea .Llog,di
|
||||
call __stracef
|
||||
#endif
|
||||
|
@ -93,7 +93,7 @@ vfork:
|
|||
b fork // which doesn't support vfork()
|
||||
1:
|
||||
|
||||
#ifdef SYSDEBUG
|
||||
#if SYSDEBUG
|
||||
stp x29,x30,[sp,-16]!
|
||||
adrp x0,.Llog
|
||||
add x0,x0,:lo12:.Llog
|
||||
|
@ -130,7 +130,7 @@ vfork:
|
|||
#endif
|
||||
.endfn vfork,globl
|
||||
|
||||
#ifdef SYSDEBUG
|
||||
#if SYSDEBUG
|
||||
.rodata.str1.1
|
||||
.Llog: .ascii STRACE_PROLOGUE
|
||||
.asciz "vfork()\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue