OUTPUT_ARCH(riscv)
ENTRY(_start)

RAM = 0x80200000;

MEMORY {
    LOWMEM : org = 0x0000000000000000, len = 1M
    KBSS   : org = 0xffffffff00000000, len = 2M
    KIMAGE : org = 0xffffffff80200000, len = 2M
}

REGION_ALIAS("REGION_TEXT", KIMAGE);
REGION_ALIAS("REGION_RODATA", KIMAGE);
REGION_ALIAS("REGION_BOOT", KIMAGE);
REGION_ALIAS("REGION_DATA", KIMAGE);
REGION_ALIAS("REGION_BSS", KBSS);
REGION_ALIAS("REGION_EHFRAME", KIMAGE);
