From c85331ddf629d0baeae3495509942aca50614afb Mon Sep 17 00:00:00 2001 From: Corwin Kuiper Date: Mon, 19 Apr 2021 22:01:18 +0100 Subject: [PATCH] change implicit data to ewram --- gba.ld | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gba.ld b/gba.ld index 6a1cdfde..f2c67ffd 100644 --- a/gba.ld +++ b/gba.ld @@ -37,9 +37,6 @@ SECTIONS { *(.iwram .iwram.*); . = ALIGN(4); - *(.data .data.*); - . = ALIGN(4); - *(.text_iwram .text_iwram.*); . = ALIGN(4); @@ -55,6 +52,9 @@ SECTIONS { *(.ewram .ewram.*); . = ALIGN(4); + *(.data .data.*); + . = ALIGN(4); + __ewram_data_end = ABSOLUTE(.); } > ewram AT>rom