1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Michael Sevakis 2010-06-30 05:49:56 +00:00
parent 6920d2b9cd
commit ce4da595e1

View file

@ -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)