28 lines
655 B
Text
28 lines
655 B
Text
|
ENTRY(_start)
|
||
|
SECTIONS
|
||
|
{
|
||
|
. = 0x200000;
|
||
|
kernel_start = .;
|
||
|
.text : {
|
||
|
*(.text)
|
||
|
}
|
||
|
.data : {
|
||
|
start_ctors = .;
|
||
|
KEEP(*( .init_array ));
|
||
|
KEEP(*(SORT_BY_INIT_PRIORITY( .init_array.* )));
|
||
|
*(.ctors)
|
||
|
end_ctors = .;
|
||
|
start_dtors = .;
|
||
|
*(.dtors)
|
||
|
end_dtors = .;
|
||
|
*(.data)
|
||
|
}
|
||
|
.rodata : {
|
||
|
*(.rodata)
|
||
|
}
|
||
|
.bss : {
|
||
|
*(.bss)
|
||
|
*(COMMON)
|
||
|
}
|
||
|
kernel_end = .;
|
||
|
}
|