xref: /kvm-unit-tests/arm/flat.lds (revision 68ea0e0be63d341362dca92d3bacac85b465fb3c)
1
2SECTIONS
3{
4    .text : { *(.init) *(.text) *(.text.*) }
5    . = ALIGN(64K);
6    etext = .;
7    .data : {
8        *(.data)
9    }
10    . = ALIGN(16);
11    .rodata : { *(.rodata) }
12    . = ALIGN(16);
13    .bss : { *(.bss) }
14    . = ALIGN(64K);
15    edata = .;
16    . += 64K;
17    . = ALIGN(64K);
18    /*
19     * stack depth is 16K for arm and PAGE_SIZE for arm64, see THREAD_SIZE
20     * sp must be 16 byte aligned for arm64, and 8 byte aligned for arm
21     * sp must always be strictly less than the true stacktop
22     */
23    stackptr = . - 16;
24    stacktop = .;
25}
26
27ENTRY(start)
28