xref: /openbmc/qemu/tests/tcg/riscv64/semihost.ld (revision 2f95279a)
1ENTRY(_start)
2
3SECTIONS
4{
5    /* virt machine, RAM starts at 2gb */
6    . = 0x80000000;
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}
22