change implicit data to ewram

This commit is contained in:
Corwin Kuiper 2021-04-19 22:01:18 +01:00 committed by Corwin
parent 65b97f7546
commit c85331ddf6

6
gba.ld
View file

@ -37,9 +37,6 @@ SECTIONS {
*(.iwram .iwram.*); *(.iwram .iwram.*);
. = ALIGN(4); . = ALIGN(4);
*(.data .data.*);
. = ALIGN(4);
*(.text_iwram .text_iwram.*); *(.text_iwram .text_iwram.*);
. = ALIGN(4); . = ALIGN(4);
@ -55,6 +52,9 @@ SECTIONS {
*(.ewram .ewram.*); *(.ewram .ewram.*);
. = ALIGN(4); . = ALIGN(4);
*(.data .data.*);
. = ALIGN(4);
__ewram_data_end = ABSOLUTE(.); __ewram_data_end = ABSOLUTE(.);
} > ewram AT>rom } > ewram AT>rom