blob: ecc12689889a11ef48a859631978de2b311688b1 [file] [log] [blame]
Jörg Hohensohn6a4e4c82003-11-30 11:37:43 +00001OUTPUT_FORMAT(elf32-sh)
Jörg Hohensohn6a4e4c82003-11-30 11:37:43 +00002
3MEMORY
4{
5 /* the boot ROM uses IRAM at 400-430, stay away and start at 500 */
6 IRAM : ORIGIN = 0x0FFFF500, LENGTH = 0xA00
7 /* and leave some room for stack at the end */
8}
9
10SECTIONS
11{
12 .startvector :
13 {
14 *(.startvector)
15 . = ALIGN(0x4);
16 } > IRAM
17
18 .text :
19 {
20 *(.text)
Jens Arnolde13e3182008-10-30 00:17:45 +000021 *(.icode)
Jörg Hohensohn6a4e4c82003-11-30 11:37:43 +000022 . = ALIGN(0x4);
23 } > IRAM
24
25 .data :
26 {
27 *(.data)
28 } > IRAM
29
30 .bss :
31 {
32 *(.bss)
33 } > IRAM
34}