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*))) }
50 _image_binary_end = .;
52 .bss __rel_dyn_start (OVERLAY) : {
59 .dynsym _image_binary_end : { *(.dynsym) }
60 .dynbss : { *(.dynbss) }
61 .dynstr : { *(.dynstr*) }
62 .dynamic : { *(.dynamic*) }
65 .interp : { *(.interp*) }
67 .ARM.exidx : { *(.ARM.exidx*) }
70 #if defined(CONFIG_SPL_MAX_SIZE)
71 ASSERT(__image_copy_end - __image_copy_start < (CONFIG_SPL_MAX_SIZE), \
75 #if defined(CONFIG_SPL_BSS_MAX_SIZE)
76 ASSERT(__bss_end - __bss_start < (CONFIG_SPL_BSS_MAX_SIZE), \
77 "SPL image BSS too big");
80 #if defined(CONFIG_SPL_MAX_FOOTPRINT)
81 ASSERT(__bss_end - _start < (CONFIG_SPL_MAX_FOOTPRINT), \
82 "SPL image plus BSS too big");