2 OUTPUT_FORMAT("elf64-sparc", "elf64-sparc",
7 /* Do we need any of these for elf?
11 /* Read-only sections, merged into text segment: */
12 . = kernbase + SIZEOF_HEADERS;
13 .interp : { *(.interp) }
15 .dynsym : { *(.dynsym) }
16 .dynstr : { *(.dynstr) }
17 .gnu.version : { *(.gnu.version) }
18 .gnu.version_d : { *(.gnu.version_d) }
19 .gnu.version_r : { *(.gnu.version_r) }
20 .rel.init : { *(.rel.init) }
21 .rela.init : { *(.rela.init) }
26 *(.rel.gnu.linkonce.t.*)
32 *(.rela.gnu.linkonce.t.*)
34 .rel.fini : { *(.rel.fini) }
35 .rela.fini : { *(.rela.fini) }
40 *(.rel.gnu.linkonce.r.*)
46 *(.rela.gnu.linkonce.r.*)
52 *(.rel.gnu.linkonce.d.*)
58 *(.rela.gnu.linkonce.d.*)
60 .rel.ctors : { *(.rel.ctors) }
61 .rela.ctors : { *(.rela.ctors) }
62 .rel.dtors : { *(.rel.dtors) }
63 .rela.dtors : { *(.rela.dtors) }
64 .rel.got : { *(.rel.got) }
65 .rela.got : { *(.rela.got) }
70 *(.rel.gnu.linkonce.s.*)
76 *(.rela.gnu.linkonce.s.*)
82 *(.rel.gnu.linkonce.sb.*)
88 *(.rel.gnu.linkonce.sb.*)
94 *(.rel.gnu.linkonce.s2.*)
100 *(.rela.gnu.linkonce.s2.*)
106 *(.rel.gnu.linkonce.sb2.*)
112 *(.rela.gnu.linkonce.sb2.*)
118 *(.rel.gnu.linkonce.b.*)
124 *(.rela.gnu.linkonce.b.*)
126 .rel.plt : { *(.rel.plt) }
127 .rela.plt : { *(.rela.plt) }
138 /* .gnu.warning sections are handled specially by elf32.em. */
146 PROVIDE (__etext = .);
147 PROVIDE (_etext = .);
149 .rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r.*) }
150 .rodata1 : { *(.rodata1) }
151 .sdata2 : { *(.sdata2) *(.sdata2.*) *(.gnu.linkonce.s2.*) }
152 .sbss2 : { *(.sbss2) *(.sbss2.*) *(.gnu.linkonce.sb2.*) }
153 . = ALIGN(0x2000) + (. & (0x2000 - 1));
161 .data1 : { *(.data1) }
162 .eh_frame : { KEEP (*(.eh_frame)) }
163 .gcc_except_table : { *(.gcc_except_table) }
166 /* gcc uses crtbegin.o to find the start of
167 the constructors, so we make sure it is
168 first. Because this is a wildcard, it
169 doesn't matter if the user does not
170 actually link against crtbegin.o; the
171 linker won't look for a file to match a
172 wildcard. The wildcard also means that it
173 doesn't matter which directory crtbegin.o
175 KEEP (*crtbegin.o(.ctors))
176 /* We don't want to include the .ctor section from
177 from the crtend.o file until after the sorted ctors.
178 The .ctor section from the crtend file contains the
179 end of ctors marker and it must be last */
180 KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
181 KEEP (*(SORT(.ctors.*)))
186 KEEP (*crtbegin.o(.dtors))
187 KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
188 KEEP (*(SORT(.dtors.*)))
192 .got : { *(.got.plt) *(.got) }
193 .dynamic : { *(.dynamic) }
194 /* We want the small data sections together, so single-instruction offsets
195 can access them all, and initialized data all before uninitialized, so
196 we can shorten the on-disk segment size. */
208 PROVIDE (__sbss_start = .);
209 PROVIDE (___sbss_start = .);
213 *(.gnu.linkonce.sb.*)
215 PROVIDE (__sbss_end = .);
216 PROVIDE (___sbss_end = .);
225 /* Align here to ensure that the .bss section occupies space up to
226 _end. Align after .bss to ensure correct alignment even if the
227 .bss section disappears because there are no input sections. */
233 /* Stabs debugging sections. */
234 .stab 0 : { *(.stab) }
235 .stabstr 0 : { *(.stabstr) }
236 .stab.excl 0 : { *(.stab.excl) }
237 .stab.exclstr 0 : { *(.stab.exclstr) }
238 .stab.index 0 : { *(.stab.index) }
239 .stab.indexstr 0 : { *(.stab.indexstr) }
240 .comment 0 : { *(.comment) }
241 /* DWARF debug sections.
242 Symbols in the DWARF debugging sections are relative to the beginning
243 of the section so we begin them at 0. */
245 .debug 0 : { *(.debug) }
246 .line 0 : { *(.line) }
247 /* GNU DWARF 1 extensions */
248 .debug_srcinfo 0 : { *(.debug_srcinfo) }
249 .debug_sfnames 0 : { *(.debug_sfnames) }
250 /* DWARF 1.1 and DWARF 2 */
251 .debug_aranges 0 : { *(.debug_aranges) }
252 .debug_pubnames 0 : { *(.debug_pubnames) }
254 .debug_info 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
255 .debug_abbrev 0 : { *(.debug_abbrev) }
256 .debug_line 0 : { *(.debug_line) }
257 .debug_frame 0 : { *(.debug_frame) }
258 .debug_str 0 : { *(.debug_str) }
259 .debug_loc 0 : { *(.debug_loc) }
260 .debug_macinfo 0 : { *(.debug_macinfo) }
261 /* SGI/MIPS DWARF 2 extensions */
262 .debug_weaknames 0 : { *(.debug_weaknames) }
263 .debug_funcnames 0 : { *(.debug_funcnames) }
264 .debug_typenames 0 : { *(.debug_typenames) }
265 .debug_varnames 0 : { *(.debug_varnames) }
266 /* These must appear regardless of . */