rulimine/stage2/linker.ld

29 lines
343 B
Plaintext

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