1 /* Linker script for Gaisler Research AB's Template design
2 * for Altera NIOS Development board Stratix II Edition, EP2S60 FPGA.
5 * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com.
7 * See file CREDITS for list of people who contributed to this
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License as
12 * published by the Free Software Foundation; either version 2 of
13 * the License, or (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
27 OUTPUT_FORMAT("elf32-sparc", "elf32-sparc", "elf32-sparc")
33 /* Read-only sections, merged into text segment: */
35 .interp : { *(.interp) }
37 .dynsym : { *(.dynsym) }
38 .dynstr : { *(.dynstr) }
39 .rel.text : { *(.rel.text) }
40 .rela.text : { *(.rela.text) }
41 .rel.data : { *(.rel.data) }
42 .rela.data : { *(.rela.data) }
43 .rel.rodata : { *(.rel.rodata) }
44 .rela.rodata : { *(.rela.rodata) }
45 .rel.got : { *(.rel.got) }
46 .rela.got : { *(.rela.got) }
47 .rel.ctors : { *(.rel.ctors) }
48 .rela.ctors : { *(.rela.ctors) }
49 .rel.dtors : { *(.rel.dtors) }
50 .rela.dtors : { *(.rela.dtors) }
51 .rel.bss : { *(.rel.bss) }
52 .rela.bss : { *(.rela.bss) }
53 .rel.plt : { *(.rel.plt) }
54 .rela.plt : { *(.rela.plt) }
63 arch/sparc/cpu/leon3/start.o (.text)
64 /* 8k is the same as the PROM offset from end of main memory, (CONFIG_SYS_PROM_SIZE) */
66 /* PROM CODE, Will be relocated to the end of memory,
67 * no global data accesses please.
81 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
91 KEEP(*(SORT(.u_boot_list*)));
118 /* .data.rel : { } */
122 .text.init : { *(.text.init) }
123 .data.init : { *(.data.init) }
134 . = ALIGN(16); /* to speed clearing of bss up */
140 /* Relocated into main memory */
142 /* Start of main memory */
145 .stack (NOLOAD) : { *(.stack) }
149 /* global data in RAM passed to kernel after booting */
151 .stab 0 : { *(.stab) }
152 .stabstr 0 : { *(.stabstr) }
153 .stab.excl 0 : { *(.stab.excl) }
154 .stab.exclstr 0 : { *(.stab.exclstr) }
155 .stab.index 0 : { *(.stab.index) }
156 .stab.indexstr 0 : { *(.stab.indexstr) }
157 .comment 0 : { *(.comment) }