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:
parent
6920d2b9cd
commit
ce4da595e1
1 changed files with 5 additions and 1 deletions
|
@ -99,6 +99,10 @@ SECTIONS
|
||||||
*(.eh_frame)
|
*(.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 :
|
.vectors 0x0 :
|
||||||
{
|
{
|
||||||
_vectorsstart = .;
|
_vectorsstart = .;
|
||||||
|
@ -119,7 +123,7 @@ SECTIONS
|
||||||
|
|
||||||
_initcopy = LOADADDR(.init);
|
_initcopy = LOADADDR(.init);
|
||||||
|
|
||||||
.stack (NOLOAD) :
|
.stack _noloaddram (NOLOAD) :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
*(.stack)
|
*(.stack)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue