Annotation of sys/arch/sgi/stand/boot/ld.script, Revision 1.1
1.1 ! nbrk 1: OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradlittlemips",
! 2: "elf32-tradbigmips")
! 3: OUTPUT_ARCH(mips)
! 4: ENTRY(_start)
! 5: SECTIONS
! 6: {
! 7: /* Read-only sections, merged into text segment: */
! 8: . = 0x80010000 + SIZEOF_HEADERS;
! 9: .text :
! 10: {
! 11: _ftext = . ;
! 12: *(.text)
! 13: *(.rodata)
! 14: *(.rodata1)
! 15: *(.reginfo)
! 16: *(.init)
! 17: *(.stub)
! 18: /* .gnu.warning sections are handled specially by elf32.em. */
! 19: *(.gnu.warning)
! 20: } =0
! 21: _etext = .;
! 22: PROVIDE (etext = .);
! 23: .fini : { *(.fini) } =0
! 24: .data :
! 25: {
! 26: _fdata = . ;
! 27: *(.data)
! 28: CONSTRUCTORS
! 29: }
! 30: .data1 : { *(.data1) }
! 31: .ctors : { *(.ctors) }
! 32: .dtors : { *(.dtors) }
! 33: _gp = ALIGN(16) + 0x7ff0;
! 34: .got :
! 35: {
! 36: *(.got.plt) *(.got)
! 37: }
! 38: /* We want the small data sections together, so single-instruction offsets
! 39: can access them all, and initialized data all before uninitialized, so
! 40: we can shorten the on-disk segment size. */
! 41: .sdata : { *(.sdata) }
! 42: .lit8 : { *(.lit8) }
! 43: .lit4 : { *(.lit4) }
! 44: _edata = .;
! 45: PROVIDE (edata = .);
! 46: __bss_start = .;
! 47: _fbss = .;
! 48: .sbss : { *(.sbss) *(.scommon) }
! 49: .bss :
! 50: {
! 51: *(.dynbss)
! 52: *(.bss)
! 53: *(COMMON)
! 54: }
! 55: _end = . ;
! 56: PROVIDE (end = .);
! 57: /* These are needed for ELF backends which have not yet been
! 58: converted to the new style linker. */
! 59: .stab 0 : { *(.stab) }
! 60: .stabstr 0 : { *(.stabstr) }
! 61: /* DWARF debug sections.
! 62: Symbols in the .debug DWARF section are relative to the beginning of the
! 63: section so we begin .debug at 0. It's not clear yet what needs to happen
! 64: for the others. */
! 65: .debug 0 : { *(.debug) }
! 66: .debug_srcinfo 0 : { *(.debug_srcinfo) }
! 67: .debug_aranges 0 : { *(.debug_aranges) }
! 68: .debug_pubnames 0 : { *(.debug_pubnames) }
! 69: .debug_sfnames 0 : { *(.debug_sfnames) }
! 70: .line 0 : { *(.line) }
! 71: /* These must appear regardless of . */
! 72: .gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
! 73: .gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
! 74: }
CVSweb