limine/test/linker.ld

38 lines
456 B
Plaintext
Raw Normal View History

ENTRY(stivale_main)
2020-03-25 01:39:02 +03:00
SECTIONS
{
. = 0x100000;
2020-03-25 01:39:02 +03:00
.stivalehdr ALIGN(4K) :
{
KEEP(*(.stivalehdr))
2020-03-26 03:37:56 +03:00
}
.stivale2hdr ALIGN(4K) :
{
KEEP(*(.stivale2hdr))
2020-03-25 01:39:02 +03:00
}
.text ALIGN(4K) :
{
KEEP(*(.text*))
2020-03-25 01:39:02 +03:00
}
.rodata ALIGN(4K) :
{
KEEP(*(.rodata*))
2020-03-25 01:39:02 +03:00
}
.data ALIGN(4K) :
{
KEEP(*(.data*))
}
.bss ALIGN(4K) :
{
KEEP(*(COMMON))
KEEP(*(.bss*))
2020-03-25 01:39:02 +03:00
}
}