1 /* $NetBSD: kern.ldscript,v 1.4 2001/10/05 05:03:27 simonb Exp $ */
3 /* ldscript for NetBSD/mips kernels and LKMs */
7 /* Do we need any of these?
12 /* Read-only sections, merged into text segment. Assumes the
13 kernel Makefile sets the start address via -Ttext. */
22 .rodata : { *(.rodata) *(.rodata.*) }
23 .reginfo : { *(.reginfo) }
31 _gp = ALIGN(16) + 0x7ff0;
34 .sdata : { *(.sdata) }
39 .sbss : { *(.sbss) *(.scommon) }
47 /* These are needed for ELF backends which have not yet been
48 converted to the new style linker. */
49 .stab 0 : { *(.stab) }
50 .stabstr 0 : { *(.stabstr) }
51 /* DWARF debug sections.
52 Symbols in the .debug DWARF section are relative to the beginning of the
53 section so we begin .debug at 0. It's not clear yet what needs to happen
55 .debug 0 : { *(.debug) }
56 .debug_srcinfo 0 : { *(.debug_srcinfo) }
57 .debug_aranges 0 : { *(.debug_aranges) }
58 .debug_pubnames 0 : { *(.debug_pubnames) }
59 .debug_sfnames 0 : { *(.debug_sfnames) }
60 .line 0 : { *(.line) }
61 /* These must appear regardless of . */
62 .gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
63 .gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }