6a4e4c87c2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4083 a1c6a512-1295-4272-9138-f99709370657
34 lines
420 B
Text
34 lines
420 B
Text
OUTPUT_FORMAT(elf32-sh)
|
|
INPUT(bootloader.o)
|
|
|
|
MEMORY
|
|
{
|
|
/* the boot ROM uses IRAM at 400-430, stay away and start at 500 */
|
|
IRAM : ORIGIN = 0x0FFFF500, LENGTH = 0xA00
|
|
/* and leave some room for stack at the end */
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
.startvector :
|
|
{
|
|
*(.startvector)
|
|
. = ALIGN(0x4);
|
|
} > IRAM
|
|
|
|
.text :
|
|
{
|
|
*(.text)
|
|
. = ALIGN(0x4);
|
|
} > IRAM
|
|
|
|
.data :
|
|
{
|
|
*(.data)
|
|
} > IRAM
|
|
|
|
.bss :
|
|
{
|
|
*(.bss)
|
|
} > IRAM
|
|
}
|