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 */
23 *(.text) /* remaining code */
24 *(.rodata) /* read-only data (constants) */
33 PROVIDE (_mem_app_start = . );
38 PROVIDE (_keyval_start = .);
39 PROVIDE (_keyval_page_len = KEYVAL_PAGE_LEN );
42 /* .data section which is used for initialized data */
43 /* .data : AT (_etext)
\r*/
45 AT ( ADDR( .text ) + SIZEOF( .text ) )
53 /* .bss section which is used for uninitialized data */
61 __bss_end__ = ALIGN( 4 ) ;
71 /* Stabs debugging sections. */
72 .stab 0 : { *(.stab) }
73 .stabstr 0 : { *(.stabstr) }
74 .stab.excl 0 : { *(.stab.excl) }
75 .stab.exclstr 0 : { *(.stab.exclstr) }
76 .stab.index 0 : { *(.stab.index) }
77 .stab.indexstr 0 : { *(.stab.indexstr) }
78 .comment 0 : { *(.comment) }
79 /* DWARF debug sections.
80 Symbols in the DWARF debugging sections are relative to the beginning
81 of the section so we begin them at 0. */
83 .debug 0 : { *(.debug) }
84 .line 0 : { *(.line) }
85 /* GNU DWARF 1 extensions */
86 .debug_srcinfo 0 : { *(.debug_srcinfo) }
87 .debug_sfnames 0 : { *(.debug_sfnames) }
88 /* DWARF 1.1 and DWARF 2 */
89 .debug_aranges 0 : { *(.debug_aranges) }
90 .debug_pubnames 0 : { *(.debug_pubnames) }
92 .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
93 .debug_abbrev 0 : { *(.debug_abbrev) }
94 .debug_line 0 : { *(.debug_line) }
95 .debug_frame 0 : { *(.debug_frame) }
96 .debug_str 0 : { *(.debug_str) }
97 .debug_loc 0 : { *(.debug_loc) }
98 .debug_macinfo 0 : { *(.debug_macinfo) }
99 /* SGI/MIPS DWARF 2 extensions */
100 .debug_weaknames 0 : { *(.debug_weaknames) }
101 .debug_funcnames 0 : { *(.debug_funcnames) }
102 .debug_typenames 0 : { *(.debug_typenames) }
103 .debug_varnames 0 : { *(.debug_varnames) }