rulimine/test/linker.ld

38 lines
456 B
Plaintext

ENTRY(stivale_main)
SECTIONS
{
. = 0x100000;
.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*))
}
}