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