Revert section rename
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
@@ -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
@@ -10,14 +10,14 @@ MEMORY
|
||||
|
||||
SECTIONS {
|
||||
|
||||
.ewram.sbss 0x2000000 (NOLOAD) :
|
||||
ewram 0x2000000 (NOLOAD) :
|
||||
ALIGN(4)
|
||||
{
|
||||
gHeap = .;
|
||||
|
||||
. = 0x1C000;
|
||||
|
||||
*(.sbss);
|
||||
*(ewram_data);
|
||||
} > EWRAM
|
||||
|
||||
iwram 0x3000000 (NOLOAD) :
|
||||
|
||||
Reference in New Issue
Block a user