1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (c) 2004-2008 Texas Instruments
6 * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
9 OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
19 __image_copy_start = .;
21 CPUDIR/start.o (.text*)
27 .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
36 KEEP(*(SORT(.u_boot_list*)));
41 __binman_sym_start = .;
42 KEEP(*(SORT(.binman_sym*)));
61 _image_binary_end = .;
63 .bss __rel_dyn_start (OVERLAY) : {
69 __bss_size = __bss_end - __bss_start;
70 .dynsym _image_binary_end : { *(.dynsym) }
71 .dynbss : { *(.dynbss) }
72 .dynstr : { *(.dynstr*) }
73 .dynamic : { *(.dynamic*) }
76 .interp : { *(.interp*) }
78 .ARM.exidx : { *(.ARM.exidx*) }
81 #if defined(CONFIG_SPL_MAX_SIZE)
82 ASSERT(__image_copy_end - __image_copy_start < (CONFIG_SPL_MAX_SIZE), \
86 #if defined(CONFIG_SPL_BSS_MAX_SIZE)
87 ASSERT(__bss_end - __bss_start < (CONFIG_SPL_BSS_MAX_SIZE), \
88 "SPL image BSS too big");
91 #if defined(CONFIG_SPL_MAX_FOOTPRINT)
92 ASSERT(__bss_end - _start < (CONFIG_SPL_MAX_FOOTPRINT), \
93 "SPL image plus BSS too big");