freebsd-skq/stand/i386/boot.ldscript

18 lines
498 B
Plaintext
Raw Permalink Normal View History

/* $FreeBSD$ */
/* Simplified linker script for the boot loaders. */
OUTPUT_FORMAT("elf32-i386-freebsd")
OUTPUT_ARCH(i386)
ENTRY(_start)
SECTIONS {
. = ORG;
.text : { *(.text .text.*) } =0xcccccccc /* Pad with int3, if needed */
.rodata : { *(.rodata .rodata.*) }
.got : { *(.got) *(.igot) }
.got.plt : { *(.got.plt) *(.igot.plt) }
.data : { *(.data .data.*) }
_edata = .; PROVIDE (edata = .);
.bss : { *(.bss .bss.*) }
_end = .; PROVIDE (end = .);
/DISCARD/ : { *(.interp) }
}