add ability to set things to iwram explicitly

This commit is contained in:
Corwin Kuiper 2021-04-17 00:37:52 +01:00 committed by Corwin
parent 066088a74c
commit f7fb4aff45

3
gba.ld
View file

@ -34,6 +34,9 @@ SECTIONS {
.iwram : {
__iwram_data_start = ABSOLUTE(.);
*(.iwram .iwram.*);
. = ALIGN(4);
*(.data .data.*);
. = ALIGN(4);