From 2a6690e9fd53a02613796764248006e06ac482d6 Mon Sep 17 00:00:00 2001 From: Miguel Date: Sun, 14 Oct 2018 22:36:16 +0200 Subject: ported vim et al --- interface/crt0.s | 3 +++ 1 file changed, 3 insertions(+) (limited to 'interface/crt0.s') diff --git a/interface/crt0.s b/interface/crt0.s index 88e316e..935e5bd 100644 --- a/interface/crt0.s +++ b/interface/crt0.s @@ -89,6 +89,9 @@ pop %eax and $-16,%esp sub $4,%esp +push stdout +call fflush + # push exit code and pass to _exit syscall push %eax call exit -- cgit v1.2.3