summaryrefslogtreecommitdiff
path: root/atos/arch/rv64/jh7110/dev/link.ld
blob: c4256514368ec02b202d67b233f67ae113dc8f16 (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
25
26
27
28
29
30
31
32
/*
 * Copyright (c) 2026, Apollo Telephone Laboratories.
 * Provided under the BSD-3 clause.
 */

ENTRY(MdHartEntry)

SECTIONS {
    . = 0x42200000;

    .text : {
        *(.text .text.*)
    }

    . += CONSTANT(MAXPAGESIZE);

    .rodata : {
        *(.rodata .rodata.*)
    }

    . += CONSTANT(MAXPAGESIZE);

    .data : {
        *(.data .data.*)
    }

    . += CONSTANT(MAXPAGESIZE);

    .bss : {
        *(.bss .bss.*)
    }
}