From be509f62ce9f93c443579a901576a13691fe349c Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Thu, 26 Jul 2018 17:01:40 +0100 Subject: [PATCH] return through libc exit rather than __libnx_exit directly (#139) --- nx/source/runtime/switch_crt0.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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