Revert section rename

This commit is contained in:
GriffinR
2024-06-22 11:58:39 -04:00
parent bc76541189
commit 21e8a142db
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -324,7 +324,7 @@ $(OBJ_DIR)/sym_common.ld: sym_common.txt $(C_OBJS) $(wildcard common_syms/*.txt)
$(RAMSCRGEN) COMMON $< ENGLISH -c $(C_BUILDDIR),common_syms > $@
$(OBJ_DIR)/sym_ewram.ld: sym_ewram.txt
$(RAMSCRGEN) .sbss $< ENGLISH > $@
$(RAMSCRGEN) ewram_data $< ENGLISH > $@
ifeq ($(MODERN),0)
LD_SCRIPT := ld_script.ld
+1 -1
View File
@@ -11,7 +11,7 @@
#define EWRAM_DATA __attribute__((section("__DATA,ewram_data")))
#else
#define IWRAM_DATA __attribute__((section("iwram_data")))
#define EWRAM_DATA __attribute__((section(".sbss")))
#define EWRAM_DATA __attribute__((section("ewram_data")))
#endif
#if MODERN
+2 -2
View File
@@ -10,7 +10,7 @@ MEMORY
SECTIONS {
.ewram.sbss 0x2000000 (NOLOAD) :
ewram 0x2000000 (NOLOAD) :
ALIGN(4)
{
gHeap = .;
@@ -18,7 +18,7 @@ SECTIONS {
. = 0x1C000;
INCLUDE "sym_ewram.ld"
src/*.o(.sbss);
src/*.o(ewram_data);
*libc.a:impure.o(.data);
*libc.a:locale.o(.data);
+2 -2
View File
@@ -10,14 +10,14 @@ MEMORY
SECTIONS {
.ewram.sbss 0x2000000 (NOLOAD) :
ewram 0x2000000 (NOLOAD) :
ALIGN(4)
{
gHeap = .;
. = 0x1C000;
*(.sbss);
*(ewram_data);
} > EWRAM
iwram 0x3000000 (NOLOAD) :