aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/aarch64/system/kernel.ld
blob: 7b3a76dcbf35d4f00920262783de2dd12c06c66e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ENTRY(__start)

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