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