diff --git a/nx/source/runtime/switch_crt0.s b/nx/source/runtime/switch_crt0.s index 3fe3083f..7cdad799 100644 --- a/nx/source/runtime/switch_crt0.s +++ b/nx/source/runtime/switch_crt0.s @@ -55,8 +55,8 @@ bss_loop: ldr w0, [x0, #:lo12:__system_argc] adrp x1, __system_argv // argv ldr x1, [x1, #:lo12:__system_argv] - adrp x30, __libnx_exit - add x30, x30, #:lo12:__libnx_exit + adrp x30, exit + add x30, x30, #:lo12:exit b main .global __nx_exit