17 lines
482 B
Plaintext
17 lines
482 B
Plaintext
/* 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) }
|
|
}
|