1 /***********************************************************************/
\r
3 /* RAMISP.ld: Linker Script File - for use with serial line boo loader*/
\r
5 /***********************************************************************/
\r
9 /* Memory Definitions */
\r
12 ROM (rx) : ORIGIN = 0x00000000, LENGTH = 0x00020000
\r
13 RAMBEG (rw) : ORIGIN = 0x40000000, LENGTH = 0x00000120
\r
14 RAMISP (r) : ORIGIN = 0x40000120, LENGTH = 0x000000E0
\r
15 RAMREST (rw) : ORIGIN = 0x40000200, LENGTH = 0x0000FE00
\r
20 /* Section Definitions */
\r
23 /* first section is .text which is used for code */
\r
27 /* LONG( ((ABSOLUTE( _start ) - . - 8) >> 2) + 0xea000000 ) /* B _start */
\r
28 *(.text) /* remaining code */
\r
29 *(.rodata) /* read-only data (constants) */
\r
37 PROVIDE (etext = .);
\r
41 *(.ivec) /* remaining code */
\r
44 /* .data section which is used for initialized data */
\r
53 PROVIDE (edata = .);
\r
55 /* .bss section which is used for uninitialized data */
\r
67 PROVIDE (__bss_end = .);
\r
72 PROVIDE (_stack = .);
\r
78 /* Stabs debugging sections. */
\r
79 .stab 0 : { *(.stab) }
\r
80 .stabstr 0 : { *(.stabstr) }
\r
81 .stab.excl 0 : { *(.stab.excl) }
\r
82 .stab.exclstr 0 : { *(.stab.exclstr) }
\r
83 .stab.index 0 : { *(.stab.index) }
\r
84 .stab.indexstr 0 : { *(.stab.indexstr) }
\r
85 .comment 0 : { *(.comment) }
\r
86 /* DWARF debug sections.
\r
87 Symbols in the DWARF debugging sections are relative to the beginning
\r
88 of the section so we begin them at 0. */
\r
90 .debug 0 : { *(.debug) }
\r
91 .line 0 : { *(.line) }
\r
92 /* GNU DWARF 1 extensions */
\r
93 .debug_srcinfo 0 : { *(.debug_srcinfo) }
\r
94 .debug_sfnames 0 : { *(.debug_sfnames) }
\r
95 /* DWARF 1.1 and DWARF 2 */
\r
96 .debug_aranges 0 : { *(.debug_aranges) }
\r
97 .debug_pubnames 0 : { *(.debug_pubnames) }
\r
99 .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
\r
100 .debug_abbrev 0 : { *(.debug_abbrev) }
\r
101 .debug_line 0 : { *(.debug_line) }
\r
102 .debug_frame 0 : { *(.debug_frame) }
\r
103 .debug_str 0 : { *(.debug_str) }
\r
104 .debug_loc 0 : { *(.debug_loc) }
\r
105 .debug_macinfo 0 : { *(.debug_macinfo) }
\r
106 /* SGI/MIPS DWARF 2 extensions */
\r
107 .debug_weaknames 0 : { *(.debug_weaknames) }
\r
108 .debug_funcnames 0 : { *(.debug_funcnames) }
\r
109 .debug_typenames 0 : { *(.debug_typenames) }
\r
110 .debug_varnames 0 : { *(.debug_varnames) }
\r