bottleros/Userland/SampleCodeModule/sampleCodeModule.ld

21 lines
250 B
Plaintext

OUTPUT_FORMAT("binary")
ENTRY(_start)
SECTIONS
{
.text 0x400000 :
{
*(.text*)
. = ALIGN(0x1000);
*(.rodata*)
}
.data ALIGN(0x1000) :
{
*(.data*)
}
.bss ALIGN(0x1000) :
{
bss = .;
*(.bss*)
}
endOfBinary = .;
}