2008-04-14 08:53:12 +00:00
|
|
|
/*
|
|
|
|
* January 2004 - Changed to support H4 device
|
|
|
|
* Copyright (c) 2004 Texas Instruments
|
|
|
|
*
|
|
|
|
* (C) Copyright 2002
|
2009-05-13 08:54:10 +00:00
|
|
|
* Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
|
2008-04-14 08:53:12 +00:00
|
|
|
*
|
2013-10-07 11:07:26 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2008-04-14 08:53:12 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
|
|
|
|
OUTPUT_ARCH(arm)
|
|
|
|
ENTRY(_start)
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
. = 0x00000000;
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
.text :
|
|
|
|
{
|
2013-06-11 12:17:33 +00:00
|
|
|
*(.__image_copy_start)
|
2008-04-03 15:04:22 +00:00
|
|
|
/* WARNING - the following is hand-optimized to fit within */
|
|
|
|
/* the sector layout of our flash chips! XXX FIXME XXX */
|
|
|
|
|
2014-04-15 14:13:51 +00:00
|
|
|
* (.vectors)
|
2013-11-11 05:36:00 +00:00
|
|
|
arch/arm/cpu/arm1136/start.o (.text*)
|
|
|
|
board/freescale/mx31ads/built-in.o (.text*)
|
|
|
|
arch/arm/lib/built-in.o (.text*)
|
|
|
|
net/built-in.o (.text*)
|
|
|
|
drivers/mtd/built-in.o (.text*)
|
2008-04-03 15:04:22 +00:00
|
|
|
|
|
|
|
. = DEFINED(env_offset) ? env_offset : .;
|
2017-08-03 18:21:49 +00:00
|
|
|
env/embedded.o(.text*)
|
2008-04-03 15:04:22 +00:00
|
|
|
|
2013-04-11 09:36:03 +00:00
|
|
|
*(.text*)
|
2008-04-14 08:53:12 +00:00
|
|
|
}
|
|
|
|
. = ALIGN(4);
|
2013-04-11 09:36:03 +00:00
|
|
|
.rodata : { *(.rodata*) }
|
2008-04-14 08:53:12 +00:00
|
|
|
|
|
|
|
. = ALIGN(4);
|
2011-06-05 06:26:49 +00:00
|
|
|
.data : {
|
2013-04-11 09:36:03 +00:00
|
|
|
*(.data*)
|
2011-06-05 06:26:49 +00:00
|
|
|
}
|
2008-04-14 08:53:12 +00:00
|
|
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
|
2012-10-12 10:27:03 +00:00
|
|
|
. = ALIGN(4);
|
|
|
|
.u_boot_list : {
|
2013-02-25 00:59:00 +00:00
|
|
|
KEEP(*(SORT(.u_boot_list*)));
|
2012-10-12 10:27:03 +00:00
|
|
|
}
|
2008-04-14 08:53:12 +00:00
|
|
|
|
|
|
|
. = ALIGN(4);
|
2011-06-05 06:26:49 +00:00
|
|
|
|
2013-06-11 12:17:33 +00:00
|
|
|
.image_copy_end :
|
|
|
|
{
|
|
|
|
*(.__image_copy_end)
|
|
|
|
}
|
2012-10-10 21:11:41 +00:00
|
|
|
|
2013-06-11 12:17:34 +00:00
|
|
|
.rel_dyn_start :
|
|
|
|
{
|
|
|
|
*(.__rel_dyn_start)
|
|
|
|
}
|
|
|
|
|
2011-06-05 06:26:49 +00:00
|
|
|
.rel.dyn : {
|
|
|
|
*(.rel*)
|
2013-06-11 12:17:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.rel_dyn_end :
|
|
|
|
{
|
|
|
|
*(.__rel_dyn_end)
|
2011-06-05 06:26:49 +00:00
|
|
|
}
|
|
|
|
|
2014-06-03 04:04:46 +00:00
|
|
|
.hash : { *(.hash*) }
|
|
|
|
|
2014-02-22 16:53:42 +00:00
|
|
|
.end :
|
|
|
|
{
|
|
|
|
*(.__end)
|
|
|
|
}
|
|
|
|
|
|
|
|
_image_binary_end = .;
|
2011-06-05 06:26:49 +00:00
|
|
|
|
2013-04-11 05:43:21 +00:00
|
|
|
/*
|
|
|
|
* Compiler-generated __bss_start and __bss_end, see arch/arm/lib/bss.c
|
|
|
|
* __bss_base and __bss_limit are for linker only (overlay ordering)
|
|
|
|
*/
|
|
|
|
|
2013-02-25 00:58:59 +00:00
|
|
|
.bss_start __rel_dyn_start (OVERLAY) : {
|
|
|
|
KEEP(*(.__bss_start));
|
2013-04-11 05:43:21 +00:00
|
|
|
__bss_base = .;
|
2013-02-25 00:58:59 +00:00
|
|
|
}
|
|
|
|
|
2013-04-11 05:43:21 +00:00
|
|
|
.bss __bss_base (OVERLAY) : {
|
2013-02-25 00:58:59 +00:00
|
|
|
*(.bss*)
|
2011-06-05 06:26:49 +00:00
|
|
|
. = ALIGN(4);
|
2013-04-11 05:43:21 +00:00
|
|
|
__bss_limit = .;
|
2013-02-25 00:58:59 +00:00
|
|
|
}
|
2013-04-11 05:43:21 +00:00
|
|
|
.bss_end __bss_limit (OVERLAY) : {
|
|
|
|
KEEP(*(.__bss_end));
|
2011-06-05 06:26:49 +00:00
|
|
|
}
|
|
|
|
|
2014-02-22 16:53:42 +00:00
|
|
|
.dynsym _image_binary_end : { *(.dynsym) }
|
2013-11-07 13:21:46 +00:00
|
|
|
.dynbss : { *(.dynbss) }
|
|
|
|
.dynstr : { *(.dynstr*) }
|
|
|
|
.dynamic : { *(.dynamic*) }
|
2014-06-03 04:04:46 +00:00
|
|
|
.gnu.hash : { *(.gnu.hash) }
|
2013-11-07 13:21:46 +00:00
|
|
|
.plt : { *(.plt*) }
|
|
|
|
.interp : { *(.interp*) }
|
|
|
|
.gnu : { *(.gnu*) }
|
|
|
|
.ARM.exidx : { *(.ARM.exidx*) }
|
2008-04-14 08:53:12 +00:00
|
|
|
}
|