1 /***********************************************************************/
3 /* ROM.ld: Linker Script File */
5 /***********************************************************************/
8 INCLUDE "lpc2103.ld-cfg"
12 PROVIDE (_setup_board = 0);
14 /* Section Definitions */
18 /* first section is .text which is used for code */
23 *(.text) /* remaining code */
24 *(.rodata) /* read-only data (constants) */
31 /* .data section which is used for initialized data */
32 /* .data : AT (_etext)
\r*/
34 AT ( ADDR( .text ) + SIZEOF( .text ) )
42 /* .bss section which is used for uninitialized data */
50 __bss_end__ = ALIGN( 4 ) ;
61 /* Stabs debugging sections. */
62 .stab 0 : { *(.stab) }
63 .stabstr 0 : { *(.stabstr) }
64 .stab.excl 0 : { *(.stab.excl) }
65 .stab.exclstr 0 : { *(.stab.exclstr) }
66 .stab.index 0 : { *(.stab.index) }
67 .stab.indexstr 0 : { *(.stab.indexstr) }
68 .comment 0 : { *(.comment) }
69 /* DWARF debug sections.
70 Symbols in the DWARF debugging sections are relative to the beginning
71 of the section so we begin them at 0. */
73 .debug 0 : { *(.debug) }
74 .line 0 : { *(.line) }
75 /* GNU DWARF 1 extensions */
76 .debug_srcinfo 0 : { *(.debug_srcinfo) }
77 .debug_sfnames 0 : { *(.debug_sfnames) }
78 /* DWARF 1.1 and DWARF 2 */
79 .debug_aranges 0 : { *(.debug_aranges) }
80 .debug_pubnames 0 : { *(.debug_pubnames) }
82 .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
83 .debug_abbrev 0 : { *(.debug_abbrev) }
84 .debug_line 0 : { *(.debug_line) }
85 .debug_frame 0 : { *(.debug_frame) }
86 .debug_str 0 : { *(.debug_str) }
87 .debug_loc 0 : { *(.debug_loc) }
88 .debug_macinfo 0 : { *(.debug_macinfo) }
89 /* SGI/MIPS DWARF 2 extensions */
90 .debug_weaknames 0 : { *(.debug_weaknames) }
91 .debug_funcnames 0 : { *(.debug_funcnames) }
92 .debug_typenames 0 : { *(.debug_typenames) }
93 .debug_varnames 0 : { *(.debug_varnames) }