forked from len0rd/rockbox
use this linker file for player builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1027 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e93823bc0f
commit
64e268a397
1 changed files with 65 additions and 0 deletions
65
firmware/player.lds
Normal file
65
firmware/player.lds
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
ENTRY(start)
|
||||
OUTPUT_FORMAT(elf32-sh)
|
||||
INPUT(crt0.o)
|
||||
SECTIONS
|
||||
{
|
||||
.vectors 0x09000000 :
|
||||
{
|
||||
*(.resetvectors);
|
||||
*(.vectors);
|
||||
. = ALIGN(0x200);
|
||||
*(.init.text)
|
||||
}
|
||||
|
||||
.text :
|
||||
{
|
||||
*(.text)
|
||||
}
|
||||
|
||||
.data :
|
||||
{
|
||||
*(.data)
|
||||
}
|
||||
|
||||
.rodata :
|
||||
{
|
||||
*(.rodata)
|
||||
}
|
||||
|
||||
.bss :
|
||||
{
|
||||
_edata = .;
|
||||
*(.bss)
|
||||
*(COMMON)
|
||||
_end = .;
|
||||
}
|
||||
|
||||
.stack :
|
||||
{
|
||||
*(.stack)
|
||||
. = 0x8000;
|
||||
_stack = .;
|
||||
}
|
||||
|
||||
.heap :
|
||||
{
|
||||
_poolstart = .;
|
||||
. = 0x20000;
|
||||
_poolend = .;
|
||||
}
|
||||
|
||||
.mp3buf :
|
||||
{
|
||||
_mp3buf = .;
|
||||
}
|
||||
|
||||
.mp3end 0x09200000 :
|
||||
{
|
||||
_mp3end = .;
|
||||
}
|
||||
|
||||
.pad 0x0900C800 :
|
||||
{
|
||||
LONG(0);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue