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