xref: /openbmc/qemu/tests/tcg/aarch64/system/kernel.ld (revision b14df228)
1ENTRY(__start)
2
3SECTIONS
4{
5    /* virt machine, RAM starts at 1gb */
6    . = (1 << 30);
7    .text : {
8        *(.text)
9    }
10    .rodata : {
11        *(.rodata)
12    }
13    /* align r/w section to next 2mb */
14    . = ALIGN(1 << 21);
15    .data : {
16        *(.data)
17    }
18    .bss : {
19        *(.bss)
20    }
21    /DISCARD/ : {
22        *(.ARM.attributes)
23    }
24}
25