rulimine/linker.ld

21 lines
270 B
Plaintext
Raw Normal View History

2019-05-15 07:08:56 +03:00
OUTPUT_FORMAT(binary)
ENTRY(main)
SECTIONS
{
. = 0x8000;
2019-05-15 07:08:56 +03:00
.text : {
bootsect_begin = .;
KEEP(*(.entry*))
2019-05-15 07:08:56 +03:00
KEEP(*(.text*))
}
.data : {
KEEP(*(.data*))
KEEP(*(.bss*))
2019-05-31 08:19:02 +03:00
. += 7168 - (. - bootsect_begin);
2019-05-15 07:08:56 +03:00
}
}