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*))) }
39 KEEP(*(SORT(.u_boot_list_*_driver_*)));
40 KEEP(*(SORT(.u_boot_list_*_uclass_*)));
58 _image_binary_end = .;
60 .bss __rel_dyn_start (OVERLAY) : {
67 .dynsym _image_binary_end : { *(.dynsym) }
68 .dynbss : { *(.dynbss) }
69 .dynstr : { *(.dynstr*) }
70 .dynamic : { *(.dynamic*) }
73 .interp : { *(.interp*) }
75 .ARM.exidx : { *(.ARM.exidx*) }
78 #if defined(CONFIG_SPL_MAX_SIZE)
79 ASSERT(__image_copy_end - __image_copy_start < (CONFIG_SPL_MAX_SIZE), \
83 #if defined(CONFIG_SPL_BSS_MAX_SIZE)
84 ASSERT(__bss_end - __bss_start < (CONFIG_SPL_BSS_MAX_SIZE), \
85 "SPL image BSS too big");
88 #if defined(CONFIG_SPL_MAX_FOOTPRINT)
89 ASSERT(__bss_end - _start < (CONFIG_SPL_MAX_FOOTPRINT), \
90 "SPL image plus BSS too big");