diff options
Diffstat (limited to 'src/user/lib/crt0.s')
-rw-r--r-- | src/user/lib/crt0.s | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/user/lib/crt0.s b/src/user/lib/crt0.s index dd9ab1b..3548264 100644 --- a/src/user/lib/crt0.s +++ b/src/user/lib/crt0.s @@ -8,7 +8,10 @@ _start: call elf_selfreloc mov %rbp, %rsp - /* pushed by _freejmp */ + + pop %rdi + call __setinitialcwd + pop %rdi pop %rsi pop %rdx |