imx233: fix app.lds to properly support INIT_ATTR
Change-Id: I1a917511e7e1540856815c77c4d996d1b8a03606 Reviewed-on: http://gerrit.rockbox.org/725 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
This commit is contained in:
parent
04fc97b362
commit
2b02cbe1cc
1 changed files with 15 additions and 15 deletions
|
@ -47,6 +47,20 @@ SECTIONS
|
|||
*(.rodata*)
|
||||
} > DRAM
|
||||
|
||||
.dramcopyend (NOLOAD) :
|
||||
{
|
||||
_dramcopyend = .;
|
||||
} > DRAM
|
||||
|
||||
.init ENDAUDIOADDR :
|
||||
{
|
||||
_initstart = .;
|
||||
*(.init*)
|
||||
_initend = .;
|
||||
} AT> DRAM
|
||||
|
||||
_initcopy = LOADADDR(.init);
|
||||
|
||||
.itext :
|
||||
{
|
||||
_iramstart = .; // always 0
|
||||
|
@ -68,21 +82,7 @@ SECTIONS
|
|||
_iend = .;
|
||||
} > IRAM
|
||||
|
||||
.init ENDAUDIOADDR :
|
||||
{
|
||||
_initstart = .;
|
||||
*(.init*)
|
||||
_initend = .;
|
||||
} AT> DRAM
|
||||
|
||||
_initcopy = LOADADDR(.init);
|
||||
|
||||
.dramcopyend (NOLOAD) :
|
||||
{
|
||||
_dramcopyend = .;
|
||||
} > DRAM
|
||||
|
||||
.stack (NOLOAD) :
|
||||
.stack _dramcopyend (NOLOAD) :
|
||||
{
|
||||
*(.stack)
|
||||
stackbegin = .;
|
||||
|
|
Loading…
Reference in a new issue