rulimine/stage2/linker.ld
2020-09-14 19:32:11 +02:00

29 lines
341 B
Plaintext

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