diff options
author | Anton Kling <anton@kling.gg> | 2023-10-24 13:50:36 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-10-24 13:50:36 +0200 |
commit | 3ae251a204748a2f1c4c2af6c55e73d5e5159d0f (patch) | |
tree | 07d02eb1b25173e3af41284a9def4cdb9191bb97 /userland/libc/crt0.s | |
parent | e91a4f1e31ee100b2a13cefedb182e9d69ef04ad (diff) |
LibC: Allocate stdin, stdout, stderr on the heap so they can be closed with fclose
Diffstat (limited to 'userland/libc/crt0.s')
-rw-r--r-- | userland/libc/crt0.s | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/userland/libc/crt0.s b/userland/libc/crt0.s index 05144d4..c950949 100644 --- a/userland/libc/crt0.s +++ b/userland/libc/crt0.s @@ -1,6 +1,7 @@ .global _start .extern main _start: + call _libc_setup call main mov %eax, %ebx mov $8, %eax |