2 * Copyright (c) 2004-2008 Texas Instruments
5 * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
7 * SPDX-License-Identifier: GPL-2.0+
10 OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
20 __image_copy_start = .;
21 CPUDIR/start.o (.text*)
26 .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
47 .bss __rel_dyn_start (OVERLAY) : {
54 .dynsym _end : { *(.dynsym) }
55 .dynbss : { *(.dynbss) }
56 .dynstr : { *(.dynstr*) }
57 .dynamic : { *(.dynamic*) }
60 .interp : { *(.interp*) }
62 .ARM.exidx : { *(.ARM.exidx*) }
65 #if defined(CONFIG_SPL_MAX_SIZE)
66 ASSERT(__image_copy_end - __image_copy_start < (CONFIG_SPL_MAX_SIZE), \
70 #if defined(CONFIG_SPL_BSS_MAX_SIZE)
71 ASSERT(__bss_end - __bss_start < (CONFIG_SPL_BSS_MAX_SIZE), \
72 "SPL image BSS too big");
75 #if defined(CONFIG_SPL_MAX_FOOTPRINT)
76 ASSERT(__bss_end - _start < (CONFIG_SPL_MAX_FOOTPRINT), \
77 "SPL image plus BSS too big");