1 /***********************************************************************/
3 /* ROM.ld: Linker Script File */
5 /***********************************************************************/
8 INCLUDE "lpc2105.ld-cfg"
12 PROVIDE (_setup_board = 0);
13 PROVIDE (_mem_app_start = 0);
15 /* Section Definitions */
19 /* first section is .text which is used for code */
24 *(.text .stub .text.* .gnu.linkonce.t.*) /* code */
25 *(.rodata .rodata.* .gnu.linkonce.r.*) /* read-only data */
33 /* .data section which is used for initialized data */
34 /* .data : AT (_etext)
\r*/
36 AT ( ADDR( .text ) + SIZEOF( .text ) )
40 *(.data .data.* .gnu.linkonce.d.*)
45 /* .bss section which is used for uninitialized data */
64 /* Stabs debugging sections. */
65 .stab 0 : { *(.stab) }
66 .stabstr 0 : { *(.stabstr) }
67 .stab.excl 0 : { *(.stab.excl) }
68 .stab.exclstr 0 : { *(.stab.exclstr) }
69 .stab.index 0 : { *(.stab.index) }
70 .stab.indexstr 0 : { *(.stab.indexstr) }
71 .comment 0 : { *(.comment) }
72 /* DWARF debug sections.
73 Symbols in the DWARF debugging sections are relative to the beginning
74 of the section so we begin them at 0. */
76 .debug 0 : { *(.debug) }
77 .line 0 : { *(.line) }
78 /* GNU DWARF 1 extensions */
79 .debug_srcinfo 0 : { *(.debug_srcinfo) }
80 .debug_sfnames 0 : { *(.debug_sfnames) }
81 /* DWARF 1.1 and DWARF 2 */
82 .debug_aranges 0 : { *(.debug_aranges) }
83 .debug_pubnames 0 : { *(.debug_pubnames) }
85 .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
86 .debug_abbrev 0 : { *(.debug_abbrev) }
87 .debug_line 0 : { *(.debug_line) }
88 .debug_frame 0 : { *(.debug_frame) }
89 .debug_str 0 : { *(.debug_str) }
90 .debug_loc 0 : { *(.debug_loc) }
91 .debug_macinfo 0 : { *(.debug_macinfo) }
92 /* SGI/MIPS DWARF 2 extensions */
93 .debug_weaknames 0 : { *(.debug_weaknames) }
94 .debug_funcnames 0 : { *(.debug_funcnames) }
95 .debug_typenames 0 : { *(.debug_typenames) }
96 .debug_varnames 0 : { *(.debug_varnames) }