historical/m0-applesillicon.git/xnu-qemu-arm64-5.1.0/tests/tcg/aarch64/system/kernel.ld

25 lines
355 B
Text
Raw Normal View History

2024-01-16 11:20:27 -06:00
ENTRY(__start)
SECTIONS
{
/* virt machine, RAM starts at 1gb */
. = (1 << 30);
.text : {
*(.text)
}
.rodata : {
*(.rodata)
}
/* align r/w section to next 2mb */
. = ALIGN(1 << 21);
.data : {
*(.data)
}
.bss : {
*(.bss)
}
/DISCARD/ : {
*(.ARM.attributes)
}
}