diff options
Diffstat (limited to 'flash/minimon/minimon.lds')
-rw-r--r-- | flash/minimon/minimon.lds | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/flash/minimon/minimon.lds b/flash/minimon/minimon.lds new file mode 100644 index 0000000000..dbdbdc3faa --- /dev/null +++ b/flash/minimon/minimon.lds | |||
@@ -0,0 +1,60 @@ | |||
1 | OUTPUT_FORMAT(elf32-sh) | ||
2 | INPUT(minimon.o) | ||
3 | |||
4 | MEMORY | ||
5 | { | ||
6 | DRAM : ORIGIN = 0x09000000, LENGTH = 0x200000 | ||
7 | } | ||
8 | |||
9 | SECTIONS | ||
10 | { | ||
11 | .startvector : | ||
12 | { | ||
13 | *(.startvector) | ||
14 | . = ALIGN(0x4); | ||
15 | } > DRAM | ||
16 | |||
17 | .got : | ||
18 | { | ||
19 | *(.got) | ||
20 | } > DRAM | ||
21 | |||
22 | .got.plt : | ||
23 | { | ||
24 | *(.got.plt) | ||
25 | } > DRAM | ||
26 | |||
27 | .rela.got : | ||
28 | { | ||
29 | *(.rela.got) | ||
30 | } > DRAM | ||
31 | |||
32 | .text : | ||
33 | { | ||
34 | . = ALIGN(0x200); | ||
35 | *(.entry) | ||
36 | *(.text) | ||
37 | . = ALIGN(0x4); | ||
38 | } > DRAM | ||
39 | |||
40 | .data : | ||
41 | { | ||
42 | *(.data) | ||
43 | } > DRAM | ||
44 | |||
45 | .rodata : | ||
46 | { | ||
47 | *(.rodata) | ||
48 | . = ALIGN(0x4); | ||
49 | } > DRAM | ||
50 | |||
51 | .bss : | ||
52 | { | ||
53 | *(.bss) | ||
54 | } > DRAM | ||
55 | |||
56 | .stack : | ||
57 | { | ||
58 | *(.stack) | ||
59 | } > DRAM | ||
60 | } | ||