2 * Copyright (C) 2016 Vladimir Zapolskiy <vz@mleia.com>
3 * Copyright (C) 2008-2009 Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
4 * Copyright (C) 2008 Mark Jonas <mark.jonas@de.bosch.com>
5 * Copyright (C) 2007 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7 * SPDX-License-Identifier: GPL-2.0+
12 #ifdef CONFIG_SYS_BIG_ENDIAN
13 OUTPUT_FORMAT("elf32-shbig-linux", "elf32-shbig-linux", "elf32-sh-linux")
15 OUTPUT_FORMAT("elf32-sh-linux", "elf32-sh-linux", "elf32-sh-linux")
22 ram : ORIGIN = CONFIG_SYS_SDRAM_BASE, LENGTH = CONFIG_SYS_SDRAM_SIZE
37 KEEP(*/start.o (.text))
38 KEEP(CONFIG_BOARDDIR/lowlevel_init.o (.text .spiboot1.text))
39 KEEP(*(.spiboot2.text))
47 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
70 KEEP(*(SORT(.u_boot_list*)));
73 PROVIDE (__init_end = .);
74 PROVIDE (reloc_dst_end = .);
76 PROVIDE (bss_start = .);
77 PROVIDE (__bss_start = .);
83 PROVIDE (bss_end = .);
84 PROVIDE (__bss_end = .);