limine/stage2/linker.ld

29 lines
341 B
Plaintext
Raw Normal View History

OUTPUT_FORMAT(elf32-i386)
2019-05-15 07:08:56 +03:00
ENTRY(main)
SECTIONS
{
. = 0x4000;
2019-05-15 07:08:56 +03:00
.text : {
KEEP(*(.entry*))
KEEP(*(.realmode*))
2020-01-21 13:42:17 +03:00
*(.text*)
}
.rodata : {
*(.rodata*)
2019-05-15 07:08:56 +03:00
}
.data : {
2020-01-21 13:42:17 +03:00
*(.data*)
}
.bss : {
bss_begin = .;
2020-01-22 02:56:20 +03:00
*(COMMON)
2020-01-21 13:42:17 +03:00
*(.bss*)
bss_end = .;
2019-05-15 07:08:56 +03:00
}
}