Files
cros-kernel/test/linker.ld
2024-05-28 14:26:46 -05:00

43 lines
565 B
Plaintext

ENTRY(_start)
SECTIONS
{
. = 0x200000;
__begin = .;
__text_start = .;
.text :
{
*(.text)
}
. = ALIGN(4096);
__text_end = .;
__rodata_start = .;
.rodata :
{
*(.rodata)
}
. = ALIGN(4096);
__rodata_end = .;
__data_start = .;
.data :
{
*(.data)
}
. = ALIGN(4096);
__data_end = .;
__bss_start = .;
.bss :
{
bss = .;
*(.bss)
}
. = ALIGN(4096);
__bss_end = .;
__bss_size = __bss_end - __bss_start;
__end = .;
}