summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2010-06-30 05:49:56 +0000
committerMichael Sevakis <jethead71@rockbox.org>2010-06-30 05:49:56 +0000
commitce4da595e15bf42eac03f0dc6cc7e513649a3f77 (patch)
tree06d0dbf0986a3a45fd3fd0b561651a226ce7f62b /firmware
parent6920d2b9cdba1177261e04d8712956bff430025e (diff)
downloadrockbox-ce4da595e15bf42eac03f0dc6cc7e513649a3f77.tar.gz
rockbox-ce4da595e15bf42eac03f0dc6cc7e513649a3f77.tar.bz2
rockbox-ce4da595e15bf42eac03f0dc6cc7e513649a3f77.zip
Gigabeat S: INIT section wasn't properly overlapping the uninitialized areas thus wasn't being reclaimed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27190 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/imx31/app.lds6
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/target/arm/imx31/app.lds b/firmware/target/arm/imx31/app.lds
index 24b9f27d5d..d8d7f4c642 100644
--- a/firmware/target/arm/imx31/app.lds
+++ b/firmware/target/arm/imx31/app.lds
@@ -99,6 +99,10 @@ SECTIONS
*(.eh_frame)
}
+ /* NOLOAD sections at end start here. Any part of the binary image past
+ * this point is discarded or copied elsewhere. */
+ _noloaddram = .;
+
.vectors 0x0 :
{
_vectorsstart = .;
@@ -119,7 +123,7 @@ SECTIONS
_initcopy = LOADADDR(.init);
- .stack (NOLOAD) :
+ .stack _noloaddram (NOLOAD) :
{
. = ALIGN(4);
*(.stack)