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