mirror of
https://github.com/tailix/libkernaux.git
synced 2024-10-30 11:54:01 -04:00
33 lines
450 B
Text
33 lines
450 B
Text
ENTRY(_start);
|
|
|
|
SECTIONS
|
|
{
|
|
. = 0x80000000;
|
|
|
|
.text : ALIGN(4K)
|
|
{
|
|
*(.init);
|
|
*(.text);
|
|
}
|
|
|
|
.rodata : ALIGN(4K)
|
|
{
|
|
*(.rodata);
|
|
}
|
|
|
|
.data : ALIGN(4K)
|
|
{
|
|
*(.data);
|
|
}
|
|
|
|
.bss : ALIGN(4K)
|
|
{
|
|
PROVIDE(bss_start = .);
|
|
*(.bss);
|
|
. += 4096;
|
|
PROVIDE(stack_top = .);
|
|
. += 4096;
|
|
PROVIDE(global_pointer = .);
|
|
PROVIDE(bss_end = .);
|
|
}
|
|
}
|