diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2010-06-30 05:49:56 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2010-06-30 05:49:56 +0000 |
commit | ce4da595e15bf42eac03f0dc6cc7e513649a3f77 (patch) | |
tree | 06d0dbf0986a3a45fd3fd0b561651a226ce7f62b | |
parent | 6920d2b9cdba1177261e04d8712956bff430025e (diff) | |
download | rockbox-ce4da595e15bf42eac03f0dc6cc7e513649a3f77.tar.gz 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
-rw-r--r-- | firmware/target/arm/imx31/app.lds | 6 |
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 | |||
99 | *(.eh_frame) | 99 | *(.eh_frame) |
100 | } | 100 | } |
101 | 101 | ||
102 | /* NOLOAD sections at end start here. Any part of the binary image past | ||
103 | * this point is discarded or copied elsewhere. */ | ||
104 | _noloaddram = .; | ||
105 | |||
102 | .vectors 0x0 : | 106 | .vectors 0x0 : |
103 | { | 107 | { |
104 | _vectorsstart = .; | 108 | _vectorsstart = .; |
@@ -119,7 +123,7 @@ SECTIONS | |||
119 | 123 | ||
120 | _initcopy = LOADADDR(.init); | 124 | _initcopy = LOADADDR(.init); |
121 | 125 | ||
122 | .stack (NOLOAD) : | 126 | .stack _noloaddram (NOLOAD) : |
123 | { | 127 | { |
124 | . = ALIGN(4); | 128 | . = ALIGN(4); |
125 | *(.stack) | 129 | *(.stack) |