qemu-patch-raspberry4/tests/tcg/x86_64/system/kernel.ld

34 lines
438 B
Plaintext
Raw Normal View History

PHDRS {
text PT_LOAD FLAGS(5); /* R_E */
note PT_NOTE FLAGS(0); /* ___ */
}
SECTIONS {
. = 0x100000;
.text : {
__load_st = .;
*(.head)
*(.text)
} :text
.rodata : {
*(.rodata)
} :text
/* Keep build ID and PVH notes in same section */
.notes : {
*(.note.*)
} :note
.data : {
*(.data)
__load_en = .;
} :text
.bss : {
*(.bss)
__bss_en = .;
}
}