1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2016 Vladimir Zapolskiy <vz@mleia.com>
4 * Copyright (C) 2008-2009 Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
5 * Copyright (C) 2008 Mark Jonas <mark.jonas@de.bosch.com>
6 * Copyright (C) 2007 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11 #ifdef CONFIG_SYS_BIG_ENDIAN
12 OUTPUT_FORMAT("elf32-shbig-linux", "elf32-shbig-linux", "elf32-sh-linux")
14 OUTPUT_FORMAT("elf32-sh-linux", "elf32-sh-linux", "elf32-sh-linux")
21 ram : ORIGIN = CONFIG_SYS_SDRAM_BASE, LENGTH = CONFIG_SYS_SDRAM_SIZE
36 KEEP(*/start.o (.text))
37 KEEP(CONFIG_BOARDDIR/lowlevel_init.o (.text .spiboot1.text))
38 KEEP(*(.spiboot2.text))
40 #ifdef CONFIG_ENV_IS_IN_FLASH
41 env/embedded.o (.doesnotexist)
50 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
73 KEEP(*(SORT(.u_boot_list*)));
76 PROVIDE (__init_end = .);
77 PROVIDE (reloc_dst_end = .);
79 PROVIDE (bss_start = .);
80 PROVIDE (__bss_start = .);
86 PROVIDE (bss_end = .);
87 PROVIDE (__bss_end = .);