source: asp3_tinet_ecnl_rx/trunk/asp3_dcre/target/gr_citrus_gcc/gr_citrus.ld@ 337

Last change on this file since 337 was 337, checked in by coas-nagasima, 6 years ago

ASP3版ECNLを追加

File size: 2.0 KB
Line 
1MEMORY
2{
3 RAM : ORIGIN = 0x0, LENGTH = 262144
4 ROM : ORIGIN = 0xFFE00000, LENGTH = 2097152
5}
6
7SECTIONS
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 0x00000 (NOLOAD) : AT (0x00000)
89 {
90 *(SI)
91 _istack = .;
92 } > RAM
93 .ustack 0x00400 (NOLOAD) : AT (0x00400)
94 {
95 _heap_stop = .;
96 *(SU)
97 _ustack = .;
98 } > RAM
99 .gcc_exc :
100 {
101 *(.gcc_exc)
102 } > RAM
103 .data : AT (_mdata)
104 {
105 _data = .;
106 *(.data)
107 *(.data.*)
108 . = ALIGN(4);
109 *(D)
110 *(D_1)
111 . = ALIGN(2);
112 *(D_2)
113 _edata = .;
114 } > RAM
115 .bss :
116 {
117 _bss = .;
118 *(.bss)
119 *(.bss.**)
120 *(COMMON)
121 . = ALIGN(4);
122 *(B)
123 *(B_1)
124 . = ALIGN(2);
125 *(B_2)
126 _ebss = .;
127 . = ALIGN(4);
128 _end = .;
129 } > RAM
130 .eth_memory (NOLOAD) :
131 {
132 . = ALIGN(32);
133 KEEP(*(ETH_MEMORY))
134 } > RAM
135 .heap (NOLOAD) :
136 {
137 *(.heap*)
138 __HeapBase = .;
139 } > RAM
140 __HeapLimit = ORIGIN(RAM) + LENGTH(RAM);
141}
Note: See TracBrowser for help on using the repository browser.