xref: /freebsd/stand/i386/boot.ldscript (revision 4e462178745853ecc014c13f82f89cfe39b83e9c)
1/* $FreeBSD$ */
2/* Merge text, data and bss together almost no padding */
3OUTPUT_FORMAT("elf32-i386-freebsd")
4OUTPUT_ARCH(i386)
5ENTRY(_start)
6SECTIONS {
7  . = 0x08048000 + SIZEOF_HEADERS;
8  .text : { *(.text) } =0x90909090	/* Pad with nops, if needed */
9  .data : { *(.data) } _edata = .;
10  .bss  : { *(.bss) }  _end = .;
11}
12