2 * (C) Copyright 2007-2008
3 * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com.
5 * SPDX-License-Identifier: GPL-2.0+
8 OUTPUT_FORMAT("elf32-sparc", "elf32-sparc", "elf32-sparc")
14 /* Read-only sections, merged into text segment: */
16 .interp : { *(.interp) }
18 .dynsym : { *(.dynsym) }
19 .dynstr : { *(.dynstr) }
20 .rel.text : { *(.rel.text) }
21 .rela.text : { *(.rela.text) }
22 .rel.data : { *(.rel.data) }
23 .rela.data : { *(.rela.data) }
24 .rel.rodata : { *(.rel.rodata) }
25 .rela.rodata : { *(.rela.rodata) }
26 .rel.got : { *(.rel.got) }
27 .rela.got : { *(.rela.got) }
28 .rel.ctors : { *(.rel.ctors) }
29 .rela.ctors : { *(.rela.ctors) }
30 .rel.dtors : { *(.rel.dtors) }
31 .rela.dtors : { *(.rela.dtors) }
32 .rel.bss : { *(.rel.bss) }
33 .rela.bss : { *(.rela.bss) }
34 .rel.plt : { *(.rel.plt) }
35 .rela.plt : { *(.rela.plt) }
45 /* 8k is the same as the PROM offset from end of main memory, (CONFIG_SYS_PROM_SIZE) */
47 /* PROM CODE, Will be relocated to the end of memory,
48 * no global data accesses please.
62 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
72 KEEP(*(SORT(.u_boot_list*)));
104 .text.init : { *(.text.init) }
105 .data.init : { *(.data.init) }
116 . = ALIGN(16); /* to speed clearing of bss up */
122 /* Relocated into main memory */
124 /* Start of main memory */
127 .stack (NOLOAD) : { *(.stack) }
131 /* global data in RAM passed to kernel after booting */
134 .stab 0 : { *(.stab) }
135 .stabstr 0 : { *(.stabstr) }
136 .stab.excl 0 : { *(.stab.excl) }
137 .stab.exclstr 0 : { *(.stab.exclstr) }
138 .stab.index 0 : { *(.stab.index) }
139 .stab.indexstr 0 : { *(.stab.indexstr) }
140 .comment 0 : { *(.comment) }