xref: /openbmc/qemu/tests/tcg/arm/system/kernel.ld (revision c16de0d9)
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