mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
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*)
|
*(.rodata*)
|
||||||
} > DRAM
|
} > DRAM
|
||||||
|
|
||||||
|
.dramcopyend (NOLOAD) :
|
||||||
|
{
|
||||||
|
_dramcopyend = .;
|
||||||
|
} > DRAM
|
||||||
|
|
||||||
|
.init ENDAUDIOADDR :
|
||||||
|
{
|
||||||
|
_initstart = .;
|
||||||
|
*(.init*)
|
||||||
|
_initend = .;
|
||||||
|
} AT> DRAM
|
||||||
|
|
||||||
|
_initcopy = LOADADDR(.init);
|
||||||
|
|
||||||
.itext :
|
.itext :
|
||||||
{
|
{
|
||||||
_iramstart = .; // always 0
|
_iramstart = .; // always 0
|
||||||
|
|
@ -68,21 +82,7 @@ SECTIONS
|
||||||
_iend = .;
|
_iend = .;
|
||||||
} > IRAM
|
} > IRAM
|
||||||
|
|
||||||
.init ENDAUDIOADDR :
|
.stack _dramcopyend (NOLOAD) :
|
||||||
{
|
|
||||||
_initstart = .;
|
|
||||||
*(.init*)
|
|
||||||
_initend = .;
|
|
||||||
} AT> DRAM
|
|
||||||
|
|
||||||
_initcopy = LOADADDR(.init);
|
|
||||||
|
|
||||||
.dramcopyend (NOLOAD) :
|
|
||||||
{
|
|
||||||
_dramcopyend = .;
|
|
||||||
} > DRAM
|
|
||||||
|
|
||||||
.stack (NOLOAD) :
|
|
||||||
{
|
{
|
||||||
*(.stack)
|
*(.stack)
|
||||||
stackbegin = .;
|
stackbegin = .;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue