Jörg Hohensohn | 6a4e4c8 | 2003-11-30 11:37:43 +0000 | [diff] [blame] | 1 | OUTPUT_FORMAT(elf32-sh) |
2 | INPUT(minimon.o) | ||||
3 | |||||
4 | MEMORY | ||||
5 | { | ||||
Jens Arnold | 601afcb | 2008-10-30 00:34:43 +0000 | [diff] [blame] | 6 | IRAM : ORIGIN = 0x0FFFF000, LENGTH = 0x500 |
Jörg Hohensohn | 6a4e4c8 | 2003-11-30 11:37:43 +0000 | [diff] [blame] | 7 | } |
8 | |||||
9 | SECTIONS | ||||
10 | { | ||||
11 | .startvector : | ||||
12 | { | ||||
13 | *(.startvector) | ||||
14 | . = ALIGN(0x4); | ||||
Jens Arnold | 601afcb | 2008-10-30 00:34:43 +0000 | [diff] [blame] | 15 | } > IRAM |
Jörg Hohensohn | 6a4e4c8 | 2003-11-30 11:37:43 +0000 | [diff] [blame] | 16 | |
17 | .got : | ||||
18 | { | ||||
19 | *(.got) | ||||
Jens Arnold | 601afcb | 2008-10-30 00:34:43 +0000 | [diff] [blame] | 20 | } > IRAM |
Jörg Hohensohn | 6a4e4c8 | 2003-11-30 11:37:43 +0000 | [diff] [blame] | 21 | |
22 | .got.plt : | ||||
23 | { | ||||
24 | *(.got.plt) | ||||
Jens Arnold | 601afcb | 2008-10-30 00:34:43 +0000 | [diff] [blame] | 25 | } > IRAM |
Jörg Hohensohn | 6a4e4c8 | 2003-11-30 11:37:43 +0000 | [diff] [blame] | 26 | |
27 | .rela.got : | ||||
28 | { | ||||
29 | *(.rela.got) | ||||
Jens Arnold | 601afcb | 2008-10-30 00:34:43 +0000 | [diff] [blame] | 30 | } > IRAM |
Jörg Hohensohn | 6a4e4c8 | 2003-11-30 11:37:43 +0000 | [diff] [blame] | 31 | |
32 | .text : | ||||
33 | { | ||||
34 | . = ALIGN(0x200); | ||||
35 | *(.entry) | ||||
36 | *(.text) | ||||
37 | . = ALIGN(0x4); | ||||
Jens Arnold | 601afcb | 2008-10-30 00:34:43 +0000 | [diff] [blame] | 38 | } > IRAM |
Jörg Hohensohn | 6a4e4c8 | 2003-11-30 11:37:43 +0000 | [diff] [blame] | 39 | |
40 | .data : | ||||
41 | { | ||||
42 | *(.data) | ||||
Jens Arnold | 601afcb | 2008-10-30 00:34:43 +0000 | [diff] [blame] | 43 | } > IRAM |
Jörg Hohensohn | 6a4e4c8 | 2003-11-30 11:37:43 +0000 | [diff] [blame] | 44 | |
45 | .rodata : | ||||
46 | { | ||||
47 | *(.rodata) | ||||
48 | . = ALIGN(0x4); | ||||
Jens Arnold | 601afcb | 2008-10-30 00:34:43 +0000 | [diff] [blame] | 49 | } > IRAM |
Jörg Hohensohn | 6a4e4c8 | 2003-11-30 11:37:43 +0000 | [diff] [blame] | 50 | |
51 | .bss : | ||||
52 | { | ||||
53 | *(.bss) | ||||
Jens Arnold | 601afcb | 2008-10-30 00:34:43 +0000 | [diff] [blame] | 54 | } > IRAM |
Jörg Hohensohn | 6a4e4c8 | 2003-11-30 11:37:43 +0000 | [diff] [blame] | 55 | |
56 | .stack : | ||||
57 | { | ||||
58 | *(.stack) | ||||
Jens Arnold | 601afcb | 2008-10-30 00:34:43 +0000 | [diff] [blame] | 59 | } > IRAM |
Jörg Hohensohn | 6a4e4c8 | 2003-11-30 11:37:43 +0000 | [diff] [blame] | 60 | } |