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*))) }
36 KEEP(*(SORT(.u_boot_list*)));
54 _image_binary_end = .;
56 .bss __rel_dyn_start (OVERLAY) : {
62 __bss_size = __bss_end - __bss_start;
63 .dynsym _image_binary_end : { *(.dynsym) }
64 .dynbss : { *(.dynbss) }
65 .dynstr : { *(.dynstr*) }
66 .dynamic : { *(.dynamic*) }
69 .interp : { *(.interp*) }
71 .ARM.exidx : { *(.ARM.exidx*) }
74 #if defined(CONFIG_SPL_MAX_SIZE)
75 ASSERT(__image_copy_end - __image_copy_start < (CONFIG_SPL_MAX_SIZE), \
79 #if defined(CONFIG_SPL_BSS_MAX_SIZE)
80 ASSERT(__bss_end - __bss_start < (CONFIG_SPL_BSS_MAX_SIZE), \
81 "SPL image BSS too big");
84 #if defined(CONFIG_SPL_MAX_FOOTPRINT)
85 ASSERT(__bss_end - _start < (CONFIG_SPL_MAX_FOOTPRINT), \
86 "SPL image plus BSS too big");