summaryrefslogtreecommitdiff
path: root/rt
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2018-11-06 21:14:09 -0800
committerOri Bernstein <ori@eigenstate.org>2018-11-06 21:14:09 -0800
commit0556b63c0c444d2d77b270c7d51beb7e94f0d30a (patch)
tree38a687d669e54b7d783cee0f7a317653ab9fbfe3 /rt
parent16c6e1242f50320bf8531e979bcb75ecfe88f9b5 (diff)
downloadmc-0556b63c0c444d2d77b270c7d51beb7e94f0d30a.tar.gz
Create the output directory when assembling.
Easier to bootstrap.
Diffstat (limited to 'rt')
-rw-r--r--rt/_myrrt-plan9.s8
1 files changed, 1 insertions, 7 deletions
diff --git a/rt/_myrrt-plan9.s b/rt/_myrrt-plan9.s
index e52e160..9e2a08e 100644
--- a/rt/_myrrt-plan9.s
+++ b/rt/_myrrt-plan9.s
@@ -37,12 +37,8 @@ TEXT cvt(SB),$0
RET
-TEXT _main(SB), 1, $(2*8+NPRIVATES*8)
+TEXT _main(SB), 1, $(72+NPRIVATES*8)
MOVQ AX, sys$tosptr(SB)
- LEAQ 16(SP), AX
- MOVQ AX, _privates(SB)
- MOVL $NPRIVATES, _nprivates(SB)
-
MOVL inargc-8(FP), R13
LEAQ inargv+0(FP), R14
MOVQ R13, AX
@@ -78,5 +74,3 @@ broke:
GLOBL argv0(SB), $8
GLOBL sys$tosptr(SB), $8
-GLOBL _privates(SB), $8
-GLOBL _nprivates(SB), $4