summaryrefslogtreecommitdiffstats
path: root/firmware/rom.lds
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2007-01-08 19:19:23 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2007-01-08 19:19:23 +0000
commitee4caec3c2e22ec35f3b5f667fea9464f5672a67 (patch)
tree8354f16adff5edceab11df1d11ae3a071b854668 /firmware/rom.lds
parenta9121491ccfdec7e1f7058d45bee73d87388f681 (diff)
downloadrockbox-ee4caec3c2e22ec35f3b5f667fea9464f5672a67.tar.gz
rockbox-ee4caec3c2e22ec35f3b5f667fea9464f5672a67.tar.bz2
rockbox-ee4caec3c2e22ec35f3b5f667fea9464f5672a67.zip
Fixed the rombox generation for SH1.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11950 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/rom.lds')
-rw-r--r--firmware/rom.lds4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/rom.lds b/firmware/rom.lds
index 0967c6b88a..723977295a 100644
--- a/firmware/rom.lds
+++ b/firmware/rom.lds
@@ -139,7 +139,11 @@ SECTIONS
. += 0x2000;
_stackend = .;
stackend = .;
+#if IRAMSIZE > 0x1000
} > IRAM
+#else
+ } > DRAM
+#endif
#ifdef CPU_COLDFIRE
.bss ADDR(.data) + SIZEOF(.data) + SIZEOF(.iram):