From f7fb4aff45733af40bf3a1b387d7f6972896ed78 Mon Sep 17 00:00:00 2001 From: Corwin Kuiper Date: Sat, 17 Apr 2021 00:37:52 +0100 Subject: [PATCH] add ability to set things to iwram explicitly --- gba.ld | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gba.ld b/gba.ld index c710cdbc..6a1cdfde 100644 --- a/gba.ld +++ b/gba.ld @@ -34,6 +34,9 @@ SECTIONS { .iwram : { __iwram_data_start = ABSOLUTE(.); + *(.iwram .iwram.*); + . = ALIGN(4); + *(.data .data.*); . = ALIGN(4);