1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Based on arch/riscv/cpu/u-boot.lds, which is
4 * Copyright (C) 2017 Andes Technology Corporation
5 * Rick Chen, Andes Technology Corporation <rick@andestech.com>
7 * and arch/mips/cpu/u-boot-spl.lds.
9 MEMORY { .spl_mem : ORIGIN = IMAGE_TEXT_BASE, LENGTH = IMAGE_MAX_SIZE }
10 MEMORY { .bss_mem : ORIGIN = CONFIG_SPL_BSS_START_ADDR, \
11 LENGTH = CONFIG_SPL_BSS_MAX_SIZE }
20 arch/riscv/cpu/start.o (.text)
26 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
44 KEEP(*(SORT(.u_boot_list*)));
50 __binman_sym_start = .;
51 KEEP(*(SORT(.binman_sym*)));
57 /DISCARD/ : { *(.rela.plt*) }