From 6c2ec5263f14a525193e0eb80bd4b9b856cca889 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Mon, 11 Apr 2005 19:35:45 +0000 Subject: [PATCH] heap start set to *end* of arm9 binary --- dka-crtls/ds_arm9.ld | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dka-crtls/ds_arm9.ld b/dka-crtls/ds_arm9.ld index ab1fd90..cd2681c 100644 --- a/dka-crtls/ds_arm9.ld +++ b/dka-crtls/ds_arm9.ld @@ -55,7 +55,6 @@ ENTRY(_start) /* The linker script MEMORY directive is not used here due */ /* to the fact that __text_start is not always a fixed value. */ -__ewram_start = 0x02001000; __text_start = 0x02004000; __eheap_end = 0x02380000; __iwram_start = 0x00800000; @@ -207,6 +206,8 @@ SECTIONS __iwram_overlay_end = . ; __iheap_start = . ; + __ewram_start = __ewram_lma ; + .ewram __ewram_start : AT (__ewram_lma) { *(.ewram)