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:
Justine Tunney 2023-11-29 03:45:54 -08:00
parent b7e1dc81c2
commit 2b960bb249
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
18 changed files with 46 additions and 33 deletions

View file

@ -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"