blob: 14150b21234cd5f59b97854b382cc4ee88f79777 [file] [log] [blame]
Jörg Hohensohn6a4e4c82003-11-30 11:37:43 +00001OUTPUT_FORMAT(elf32-sh)
2INPUT(minimon.o)
3
4MEMORY
5{
Jens Arnold601afcb2008-10-30 00:34:43 +00006 IRAM : ORIGIN = 0x0FFFF000, LENGTH = 0x500
Jörg Hohensohn6a4e4c82003-11-30 11:37:43 +00007}
8
9SECTIONS
10{
11 .startvector :
12 {
13 *(.startvector)
14 . = ALIGN(0x4);
Jens Arnold601afcb2008-10-30 00:34:43 +000015 } > IRAM
Jörg Hohensohn6a4e4c82003-11-30 11:37:43 +000016
17 .got :
18 {
19 *(.got)
Jens Arnold601afcb2008-10-30 00:34:43 +000020 } > IRAM
Jörg Hohensohn6a4e4c82003-11-30 11:37:43 +000021
22 .got.plt :
23 {
24 *(.got.plt)
Jens Arnold601afcb2008-10-30 00:34:43 +000025 } > IRAM
Jörg Hohensohn6a4e4c82003-11-30 11:37:43 +000026
27 .rela.got :
28 {
29 *(.rela.got)
Jens Arnold601afcb2008-10-30 00:34:43 +000030 } > IRAM
Jörg Hohensohn6a4e4c82003-11-30 11:37:43 +000031
32 .text :
33 {
34 . = ALIGN(0x200);
35 *(.entry)
36 *(.text)
37 . = ALIGN(0x4);
Jens Arnold601afcb2008-10-30 00:34:43 +000038 } > IRAM
Jörg Hohensohn6a4e4c82003-11-30 11:37:43 +000039
40 .data :
41 {
42 *(.data)
Jens Arnold601afcb2008-10-30 00:34:43 +000043 } > IRAM
Jörg Hohensohn6a4e4c82003-11-30 11:37:43 +000044
45 .rodata :
46 {
47 *(.rodata)
48 . = ALIGN(0x4);
Jens Arnold601afcb2008-10-30 00:34:43 +000049 } > IRAM
Jörg Hohensohn6a4e4c82003-11-30 11:37:43 +000050
51 .bss :
52 {
53 *(.bss)
Jens Arnold601afcb2008-10-30 00:34:43 +000054 } > IRAM
Jörg Hohensohn6a4e4c82003-11-30 11:37:43 +000055
56 .stack :
57 {
58 *(.stack)
Jens Arnold601afcb2008-10-30 00:34:43 +000059 } > IRAM
Jörg Hohensohn6a4e4c82003-11-30 11:37:43 +000060}