Line | |
---|
1 | MEMORY
|
---|
2 | {
|
---|
3 | RAM : ORIGIN = 0x0, LENGTH = 131072
|
---|
4 | ROM : ORIGIN = 0xFFF00000, LENGTH = 1048576
|
---|
5 | }
|
---|
6 |
|
---|
7 | SECTIONS
|
---|
8 | {
|
---|
9 | .fvectors 0xFFFFFF80 : AT (0xFFFFFF80)
|
---|
10 | {
|
---|
11 | KEEP(*(.fvectors))
|
---|
12 | } > ROM
|
---|
13 | .text 0xFFF00000 : AT (0xFFF00000)
|
---|
14 | {
|
---|
15 | *(.text)
|
---|
16 | *(.text.*)
|
---|
17 | *(P)
|
---|
18 | etext = .;
|
---|
19 | } > ROM
|
---|
20 | .rvectors :
|
---|
21 | {
|
---|
22 | _rvectors_start = .;
|
---|
23 | KEEP(*(.rvectors))
|
---|
24 | _rvectors_end = .;
|
---|
25 | } > ROM
|
---|
26 | .init :
|
---|
27 | {
|
---|
28 | *(.init)
|
---|
29 | __preinit_array_start = .;
|
---|
30 | *(.preinit_array)
|
---|
31 | __preinit_array_end = .;
|
---|
32 | __init_array_start = (. + 3) & ~ 3;
|
---|
33 | *(.init_array)
|
---|
34 | *(SORT(.init_array.*))
|
---|
35 | __init_array_end = .;
|
---|
36 | __fini_array_start = .;
|
---|
37 | *(.fini_array)
|
---|
38 | *(SORT(.fini_array.*))
|
---|
39 | __fini_array_end = .;
|
---|
40 | } > ROM
|
---|
41 | .fini :
|
---|
42 | {
|
---|
43 | *(.fini)
|
---|
44 | } > ROM
|
---|
45 | .got :
|
---|
46 | {
|
---|
47 | *(.got)
|
---|
48 | *(.got.plt)
|
---|
49 | } > ROM
|
---|
50 | .rodata :
|
---|
51 | {
|
---|
52 | _brodata = .;
|
---|
53 | *(.rodata)
|
---|
54 | *(.rodata.*)
|
---|
55 | *(C_1)
|
---|
56 | *(C_2)
|
---|
57 | *(C)
|
---|
58 | _erodata = .;
|
---|
59 | } > ROM
|
---|
60 | .eh_frame_hdr :
|
---|
61 | {
|
---|
62 | *(.eh_frame_hdr)
|
---|
63 | } > ROM
|
---|
64 | .eh_frame :
|
---|
65 | {
|
---|
66 | *(.eh_frame)
|
---|
67 | } > ROM
|
---|
68 | .jcr :
|
---|
69 | {
|
---|
70 | *(.jcr)
|
---|
71 | } > ROM
|
---|
72 | .tors :
|
---|
73 | {
|
---|
74 | __CTOR_LIST__ = .;
|
---|
75 | . = ALIGN(2);
|
---|
76 | ___ctors = .;
|
---|
77 | *(.ctors)
|
---|
78 | ___ctors_end = .;
|
---|
79 | __CTOR_END__ = .;
|
---|
80 | __DTOR_LIST__ = .;
|
---|
81 | ___dtors = .;
|
---|
82 | *(.dtors)
|
---|
83 | ___dtors_end = .;
|
---|
84 | __DTOR_END__ = .;
|
---|
85 | . = ALIGN(2);
|
---|
86 | _mdata = .;
|
---|
87 | } > ROM
|
---|
88 | .istack 0x1FC00 (NOLOAD) : AT (0x1FC00)
|
---|
89 | {
|
---|
90 | *(SI)
|
---|
91 | _istack = .;
|
---|
92 | } > RAM
|
---|
93 | .ustack 0x1C000 (NOLOAD) : AT (0x1C000)
|
---|
94 | {
|
---|
95 | _heap_stop = .;
|
---|
96 | *(SU)
|
---|
97 | _ustack = .;
|
---|
98 | } > RAM
|
---|
99 | .eth_memory 0x400 (NOLOAD) : AT (0x400)
|
---|
100 | {
|
---|
101 | . = ALIGN(32);
|
---|
102 | KEEP(*(ETH_MEMORY))
|
---|
103 | } > RAM
|
---|
104 | .gcc_exc :
|
---|
105 | {
|
---|
106 | *(.gcc_exc)
|
---|
107 | } > RAM
|
---|
108 | .data : AT (_mdata)
|
---|
109 | {
|
---|
110 | _data = .;
|
---|
111 | *(.data)
|
---|
112 | *(.data.*)
|
---|
113 | . = ALIGN(4);
|
---|
114 | *(D)
|
---|
115 | *(D_1)
|
---|
116 | . = ALIGN(2);
|
---|
117 | *(D_2)
|
---|
118 | _edata = .;
|
---|
119 | } > RAM
|
---|
120 | .bss :
|
---|
121 | {
|
---|
122 | _bss = .;
|
---|
123 | *(.bss)
|
---|
124 | *(.bss.**)
|
---|
125 | *(COMMON)
|
---|
126 | . = ALIGN(4);
|
---|
127 | *(B)
|
---|
128 | *(B_1)
|
---|
129 | . = ALIGN(2);
|
---|
130 | *(B_2)
|
---|
131 | _ebss = .;
|
---|
132 | . = ALIGN(4);
|
---|
133 | _end = .;
|
---|
134 | } > RAM
|
---|
135 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.