2018-07-24 04:04:07 +02:00
|
|
|
OUTPUT_FORMAT("elf32-i386", "elf32-i386",
|
|
|
|
"elf32-i386")
|
|
|
|
OUTPUT_ARCH(i386)
|
|
|
|
|
|
|
|
ENTRY(mymain)
|
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
2018-09-18 14:29:35 +02:00
|
|
|
. = 0x100000;
|
2018-09-27 07:55:24 +02:00
|
|
|
.boot ALIGN(4) :
|
|
|
|
{
|
|
|
|
*(.multiboot)
|
|
|
|
}
|
2018-07-24 04:04:07 +02:00
|
|
|
.text ALIGN(16): {
|
|
|
|
*(.text)
|
|
|
|
}
|
|
|
|
. = 0x200000;
|
|
|
|
.data ALIGN(16): {
|
|
|
|
*(.data)
|
|
|
|
}
|
|
|
|
.bss ALIGN(16): {
|
|
|
|
*(.bss)
|
|
|
|
}
|
|
|
|
}
|