28 lines
376 B
Plaintext
28 lines
376 B
Plaintext
|
ENTRY(_start)
|
||
|
|
||
|
SECTIONS {
|
||
|
. = 1M;
|
||
|
|
||
|
.boot :
|
||
|
{
|
||
|
/* ensure that the multiboot header is at the beginning */
|
||
|
KEEP(*(.multiboot_header))
|
||
|
|
||
|
}
|
||
|
|
||
|
.text :
|
||
|
{
|
||
|
*(.text .text.*)
|
||
|
}
|
||
|
|
||
|
.rodata :
|
||
|
{
|
||
|
*(.rodata .rodata.*)
|
||
|
}
|
||
|
|
||
|
.data.rel.ro :
|
||
|
{
|
||
|
*(.data.rel.ro.local*) *(.data.rel.ro .data.rel.ro.*)
|
||
|
}
|
||
|
}
|