2019-05-15 07:08:56 +03:00
|
|
|
OUTPUT_FORMAT(binary)
|
|
|
|
ENTRY(main)
|
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
2019-05-30 17:25:23 +03:00
|
|
|
. = 0x8000;
|
2019-05-15 07:08:56 +03:00
|
|
|
|
|
|
|
.text : {
|
|
|
|
bootsect_begin = .;
|
2019-05-30 16:59:25 +03:00
|
|
|
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
|
|
|
}
|
|
|
|
|
|
|
|
}
|