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