From 9b3396ed2994354e6df9b6318686612eb76feb7a Mon Sep 17 00:00:00 2001 From: Ethan Roseman Date: Fri, 24 Apr 2020 00:39:51 -0400 Subject: [PATCH] undefined_syms.txt --- papermario/Makefile | 2 +- papermario/undefined_syms.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 papermario/undefined_syms.txt diff --git a/papermario/Makefile b/papermario/Makefile index 74b567e5f9..8c5a37f169 100644 --- a/papermario/Makefile +++ b/papermario/Makefile @@ -15,7 +15,7 @@ OBJCOPY = $(CROSS)objcopy ASFLAGS = -EB -mtune=vr4300 -march=vr4300 CFLAGS = -Wall -O2 -mtune=vr4300 -march=vr4300 -G 0 -c -LDFLAGS = -T $(LD_SCRIPT) -Map $(BUILD_DIR)/sm64.map +LDFLAGS = -T undefined_syms.txt -T $(LD_SCRIPT) -Map $(BUILD_DIR)/sm64.map ####################### Other Tools ######################### diff --git a/papermario/undefined_syms.txt b/papermario/undefined_syms.txt new file mode 100644 index 0000000000..ff805952b1 --- /dev/null +++ b/papermario/undefined_syms.txt @@ -0,0 +1 @@ +D_802B79A8 = 0x802B79A8;