tests/tcg/x86_64: add a PVH crt.o for x86_64 system tests
[qemu/ar7.git] / tests / tcg / x86_64 / system / kernel.ld
blob49c12b04ae12124bcff489aecc826f062fdb7f35
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         /* Keep build ID and PVH notes in same section */
20         .notes :  {
21                *(.note.*)
22         } :note
24         .data : {
25                 *(.data)
26                 __load_en = .;
27         } :text
29         .bss : {
30                 *(.bss)
31                 __bss_en = .;
32         }