limine/test/linker.ld

38 lines
466 B
Plaintext

ENTRY(stivale_main)
SECTIONS
{
. = 0xffffffff80100000;
.stivalehdr ALIGN(4K) :
{
KEEP(*(.stivalehdr))
}
.stivale2hdr ALIGN(4K) :
{
KEEP(*(.stivale2hdr))
}
.text ALIGN(4K) :
{
KEEP(*(.text*))
}
.rodata ALIGN(4K) :
{
KEEP(*(.rodata*))
}
.data ALIGN(4K) :
{
KEEP(*(.data*))
}
.bss ALIGN(4K) :
{
KEEP(*(COMMON))
KEEP(*(.bss*))
}
}