diff options
author | Lizzy Fleckenstein <eliasfleckenstein@web.de> | 2023-08-18 07:44:26 +0200 |
---|---|---|
committer | Lizzy Fleckenstein <eliasfleckenstein@web.de> | 2023-08-18 07:44:26 +0200 |
commit | 1a119566ace06c96bb7555bb0db89fb57e5357f9 (patch) | |
tree | a045eafbe4b204a9d1dc6f5896315db19aade368 | |
parent | 157f7cb9b4bc171d162e633c02e1f1b60ddcc50a (diff) | |
download | paradox-1a119566ace06c96bb7555bb0db89fb57e5357f9.tar.xz |
fix stack
-rwxr-xr-x | bootstrap.lua | 2 | ||||
-rwxr-xr-x | run.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap.lua b/bootstrap.lua index 4dac57f..04f33dd 100755 --- a/bootstrap.lua +++ b/bootstrap.lua @@ -330,7 +330,7 @@ ret io.write([[ global _start _start: -lea r12, [1000000+8*"$."] +lea r12, [stack+8*1000000] call fun_0 mov rax, 60 mov rdi, 0 @@ -1,6 +1,6 @@ #!/bin/bash set -e -./paradox < "$1" > "$1.asm" +./paradox < "$1" > "/tmp/$1.asm" nasm -f elf64 "/tmp/$1.asm" -o "/tmp/$1.o" ld "/tmp/$1.o" -o "$1.bin" ./"$1.bin" |