1/* $FreeBSD: stable/11/stand/i386/boot.ldscript 360838 2020-05-09 08:55:18Z dim $ */ 2/* Simplified linker script for the boot loaders. */ 3OUTPUT_FORMAT("elf32-i386-freebsd") 4OUTPUT_ARCH(i386) 5ENTRY(_start) 6SECTIONS { 7 . = ORG; 8 .text : { *(.text .text.*) } =0xcccccccc /* Pad with int3, if needed */ 9 .rodata : { *(.rodata .rodata.*) } 10 .got : { *(.got) *(.igot) } 11 .got.plt : { *(.got.plt) *(.igot.plt) } 12 .data : { *(.data .data.*) } 13 _edata = .; PROVIDE (edata = .); 14 .bss : { *(.bss .bss.*) } 15 _end = .; PROVIDE (end = .); 16 /DISCARD/ : { *(.interp) } 17} 18