rulimine/stage2/linker.ld

33 lines
381 B
Plaintext

OUTPUT_FORMAT(elf32-i386)
ENTRY(_start)
SECTIONS
{
. = 0x8000;
.text : {
KEEP(*(.entry*))
KEEP(*(.realmode*))
*(.text*)
}
.rodata : {
*(.rodata*)
}
.data : {
*(.data*)
}
.bss : {
bss_begin = .;
*(COMMON)
*(.bss*)
bss_end = .;
}
/DISCARD/ : {
*(*)
}
}