Merge tag 'qemu-macppc-20230206' of https://github.com/mcayland/qemu into staging
[qemu.git] / tests / tcg / x86_64 / system / kernel.ld
blobca5d6bd8509db6161e79314901f3014afb4c0a77
1 PHDRS {
2         text PT_LOAD FLAGS(5);          /* R_E */
3         note PT_NOTE FLAGS(0);          /* ___ */
6 SECTIONS {
7         . = 0x100000;
9         .text : {
10                 __load_st = .;
11                 *(.head)
12                 *(.text)
13         } :text
15         .rodata : {
16                 *(.rodata)
17         } :text
19         /DISCARD/ : {
20                 *(.note.gnu*)
21         }
23         .notes :  {
24                *(.note.*)
25         } :note
27         .data : {
28                 *(.data)
29                 __load_en = .;
30         } :text
32         .bss : {
33                 *(.bss)
34                 __bss_en = .;
35         }