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.zip rockbox-ce4da595e15bf42eac03f0dc6cc7e513649a3f77.tar.gz rockbox-ce4da595e15bf42eac03f0dc6cc7e513649a3f77.tar.bz2 rockbox-ce4da595e15bf42eac03f0dc6cc7e513649a3f77.tar.xz | |
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 24b9f27..d8d7f4c 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) |