1 /***********************************************************************/
3 /* ROM.ld: Linker Script File */
5 /***********************************************************************/
9 PROVIDE (_setup_board = 0);
11 /* SECTION command : Define mapping of input sections */
12 /* into output sections. */
16 /******************************************/
23 KEEP(*(.isr_vector .isr_vector.*))
33 /******************************************/
34 /* .ctors .dtors are used for c++ constructors/destructors */
38 PROVIDE(__ctors_start = .);
39 KEEP(*(SORT(.ctors.*)))
41 PROVIDE(__ctors_end = .);
47 PROVIDE(__dtors_start = .);
48 KEEP(*(SORT(.dtors.*)))
50 PROVIDE(__dtors_end = .);
53 /* End Of .text section */
61 PROVIDE (_keyval_start = .);
62 PROVIDE (_keyval_page_len = KEYVAL_PAGE_LEN );
67 PROVIDE (_mem_app_start = . );
73 *(.irqarea .irqarea.*)
77 /**************************************************/
78 /* fastcode - copied at startup & executed in RAM */
85 *(.glue_7t) *(.glue_7)
88 /* add other modules here ... */
95 /******************************************/
96 /* This used for USB RAM section */
106 /******************************************/
110 _sidata = LOADADDR (.data);
122 /******************************************/
123 /* For no-init variables section */
147 /******************************************/
148 /* Stabs debugging sections. */
149 .stab 0 : { *(.stab) }
150 .stabstr 0 : { *(.stabstr) }
151 .stab.excl 0 : { *(.stab.excl) }
152 .stab.exclstr 0 : { *(.stab.exclstr) }
153 .stab.index 0 : { *(.stab.index) }
154 .stab.indexstr 0 : { *(.stab.indexstr) }
155 /* .comment 0 : { *(.comment) } */
156 /* DWARF debug sections.
157 Symbols in the DWARF debugging sections are relative to the beginning
158 of the section so we begin them at 0. */
160 .debug 0 : { *(.debug) }
161 .line 0 : { *(.line) }
162 /* GNU DWARF 1 extensions */
163 .debug_srcinfo 0 : { *(.debug_srcinfo) }
164 .debug_sfnames 0 : { *(.debug_sfnames) }
165 /* DWARF 1.1 and DWARF 2 */
166 .debug_aranges 0 : { *(.debug_aranges) }
167 .debug_pubnames 0 : { *(.debug_pubnames) }
169 .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
170 .debug_abbrev 0 : { *(.debug_abbrev) }
171 .debug_line 0 : { *(.debug_line) }
172 .debug_frame 0 : { *(.debug_frame) }
173 .debug_str 0 : { *(.debug_str) }
174 .debug_loc 0 : { *(.debug_loc) }
175 .debug_macinfo 0 : { *(.debug_macinfo) }
176 /* SGI/MIPS DWARF 2 extensions */
177 .debug_weaknames 0 : { *(.debug_weaknames) }
178 .debug_funcnames 0 : { *(.debug_funcnames) }
179 .debug_typenames 0 : { *(.debug_typenames) }
180 .debug_varnames 0 : { *(.debug_varnames) }