From 2779011f7d1f8b1c321d5749d23db064c38fd579 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Thu, 13 Nov 2025 16:26:54 -0700 Subject: [PATCH] libnx: add marker for programs compiled after 21.x tls abi change --- nx/source/runtime/switch_crt0.s | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nx/source/runtime/switch_crt0.s b/nx/source/runtime/switch_crt0.s index 85a2ea30..2823592b 100644 --- a/nx/source/runtime/switch_crt0.s +++ b/nx/source/runtime/switch_crt0.s @@ -83,6 +83,10 @@ __nx_mod0: .word __relro_start - __nx_mod0 .word __data_start - __nx_mod0 + .ascii "LNY2" + .word 0x1 // Version/Fix field, increment on recompile-the-worlds as needed + .word 0x0 // Reserved + .section .bss.__stack_top, "aw", %nobits .global __stack_top .align 3