From 4681625f883b2bf5a444ba1dfc8e90dc48318c49 Mon Sep 17 00:00:00 2001 From: aglab2 Date: Tue, 5 May 2026 20:14:35 +0800 Subject: [PATCH] Added libnustd missing sections in ldscript --- sm64.ld | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sm64.ld b/sm64.ld index e251d4966..8e936cb43 100755 --- a/sm64.ld +++ b/sm64.ld @@ -199,6 +199,7 @@ SECTIONS #endif BUILD_DIR/lib/librtc*.o(.*data*); *ULTRALIB.a:*.o(.data*); + *libnustd.a:*.o(.data*); */libhvqm2.a:*.o(.data*); #include "rspdata.inc.ld" BUILD_DIR/lib/aspMain.o(.data*); @@ -217,6 +218,7 @@ SECTIONS #endif BUILD_DIR/lib/librtc*.o(.rodata*); *ULTRALIB.a:*.o(.rodata*); + *libnustd.a:*.o(.rodata*); *libgcc.a:*.o(.rodata*); lib/PR/hvqm/hvqm2sp1.o(.rodata*); @@ -238,6 +240,7 @@ SECTIONS *ULTRALIB.a:*.o(COMMON); *ULTRALIB.a:*.o(.scommon); *ULTRALIB.a:*.o(.*bss*); + *libnustd.a:*.o(.bss*); */libhvqm2.a:*.o(.bss*); . = ALIGN(0x8); }