diff options
| author | Miguel <m.i@gmx.at> | 2018-10-14 22:36:16 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-10-14 22:36:16 +0200 |
| commit | 2a6690e9fd53a02613796764248006e06ac482d6 (patch) | |
| tree | ea3063ef3ecd0808e9291faf6c56949d91b1b09e /interface/crt0.s | |
| parent | 5aeab1c853e487aa0042d5c32200d623efe908d3 (diff) | |
ported vim et al
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 |
