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 = .;
22 CPUDIR/start.o (.text*)
27 .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
51 _image_binary_end = .;
53 .bss __rel_dyn_start (OVERLAY) : {
60 .dynsym _image_binary_end : { *(.dynsym) }
61 .dynbss : { *(.dynbss) }
62 .dynstr : { *(.dynstr*) }
63 .dynamic : { *(.dynamic*) }
66 .interp : { *(.interp*) }
68 .ARM.exidx : { *(.ARM.exidx*) }
71 #if defined(CONFIG_SPL_MAX_SIZE)
72 ASSERT(__image_copy_end - __image_copy_start < (CONFIG_SPL_MAX_SIZE), \
76 #if defined(CONFIG_SPL_BSS_MAX_SIZE)
77 ASSERT(__bss_end - __bss_start < (CONFIG_SPL_BSS_MAX_SIZE), \
78 "SPL image BSS too big");
81 #if defined(CONFIG_SPL_MAX_FOOTPRINT)
82 ASSERT(__bss_end - _start < (CONFIG_SPL_MAX_FOOTPRINT), \
83 "SPL image plus BSS too big");