rulimine/stage2/linker.ld

33 lines
381 B
Plaintext
Raw Permalink Normal View History

OUTPUT_FORMAT(elf32-i386)
ENTRY(_start)
2019-05-15 07:08:56 +03:00
SECTIONS
{
. = 0x8000;
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
}
/DISCARD/ : {
*(*)
}
2019-05-15 07:08:56 +03:00
}