xref: /openbmc/qemu/tests/tcg/x86_64/system/kernel.ld (revision f0984d40)
1PHDRS {
2	text PT_LOAD FLAGS(5);          /* R_E */
3	note PT_NOTE FLAGS(0);          /* ___ */
4}
5
6SECTIONS {
7	. = 0x100000;
8
9	.text : {
10		__load_st = .;
11		*(.head)
12		*(.text)
13	} :text
14
15	.rodata : {
16		*(.rodata)
17	} :text
18
19        /DISCARD/ : {
20                *(.note.gnu*)
21        }
22
23        .notes :  {
24               *(.note.*)
25        } :note
26
27        .data : {
28		*(.data)
29		__load_en = .;
30	} :text
31
32	.bss : {
33		*(.bss)
34		__bss_en = .;
35	}
36}
37