aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/riscv64/semihost.ld
blob: a59cc56b289a03209690628981ff12e801dccef7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
ENTRY(_start)

SECTIONS
{
    /* virt machine, RAM starts at 2gb */
    . = 0x80000000;
    .text : {
        *(.text)
    }
    .rodata : {
        *(.rodata)
    }
    /* align r/w section to next 2mb */
    . = ALIGN(1 << 21);
    .data : {
        *(.data)
    }
    .bss : {
        *(.bss)
    }
}