2 * (C) Copyright 2012 Lothar Waßmann <LW@KARO-electronics.de>
4 * See file CREDITS for list of people who contributed to this
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of
10 * the License, or (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
22 OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
30 __uboot_img_start = .;
36 *(.__image_copy_start)
38 CPUDIR/start.o (.text*)
43 .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
52 KEEP(*(SORT(.u_boot_list*)));
84 KEEP(*(.__uboot_img_end))
87 #ifdef CONFIG_SECURE_BOOT
94 __uboot_img_len = . - __uboot_img_start;
97 * Compiler-generated __bss_start and __bss_end, see arch/arm/lib/bss.c
98 * __bss_base and __bss_limit are for linker only (overlay ordering)
101 .bss_start __rel_dyn_start (OVERLAY) : {
102 KEEP(*(.__bss_start));
106 .bss __bss_base (OVERLAY) : {
111 .bss_end __bss_limit (OVERLAY) : {
115 /DISCARD/ : { *(.debug*) }
116 /DISCARD/ : { *(.note*) }
117 /DISCARD/ : { *(.comment*) }
118 /DISCARD/ : { *(.dynbss) }
119 /DISCARD/ : { *(.dynstr*) }
120 /DISCARD/ : { *(.dynamic*) }
121 /DISCARD/ : { *(.plt*) }
122 /DISCARD/ : { *(.interp*) }
123 /DISCARD/ : { *(.gnu.hash) }
124 /DISCARD/ : { *(.gnu*) }
125 /DISCARD/ : { *(.ARM.exidx*) }
126 /DISCARD/ : { *(.gnu.linkonce.armexidx.*) }