diff options
Diffstat (limited to 'interface/crt0.s')
| -rw-r--r-- | interface/crt0.s | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
