2011-10-31 13:17:21 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
|
|
|
|
* on behalf of DENX Software Engineering GmbH
|
|
|
|
*
|
|
|
|
* January 2004 - Changed to support H4 device
|
|
|
|
* Copyright (c) 2004-2008 Texas Instruments
|
|
|
|
*
|
|
|
|
* (C) Copyright 2002
|
|
|
|
* Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2011-10-31 13:17:21 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
|
|
|
|
OUTPUT_ARCH(arm)
|
|
|
|
ENTRY(_start)
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
. = CONFIG_SPL_TEXT_BASE;
|
|
|
|
.text.0 :
|
|
|
|
{
|
|
|
|
arch/arm/cpu/pxa/start.o (.text*)
|
2013-12-25 23:46:49 +00:00
|
|
|
arch/arm/lib/built-in.o (.text*)
|
2013-11-11 05:36:00 +00:00
|
|
|
board/vpac270/built-in.o (.text*)
|
|
|
|
drivers/mtd/onenand/built-in.o (.text*)
|
2011-10-31 13:17:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Start of the rest of the SPL */
|
|
|
|
. = CONFIG_SPL_TEXT_BASE + 0x800;
|
|
|
|
|
|
|
|
.text.1 :
|
|
|
|
{
|
|
|
|
*(.text*)
|
|
|
|
}
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
.rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
.data : {
|
2013-04-11 09:36:03 +00:00
|
|
|
*(.data*)
|
2011-10-31 13:17:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
|
2013-04-11 09:35:46 +00:00
|
|
|
__image_copy_end = .;
|
|
|
|
|
2011-10-31 13:17:21 +00:00
|
|
|
.rel.dyn : {
|
|
|
|
__rel_dyn_start = .;
|
|
|
|
*(.rel*)
|
|
|
|
__rel_dyn_end = .;
|
|
|
|
}
|
|
|
|
|
|
|
|
. = ALIGN(0x800);
|
|
|
|
|
2014-02-22 16:53:42 +00:00
|
|
|
.end :
|
|
|
|
{
|
|
|
|
*(.__end)
|
|
|
|
}
|
|
|
|
|
|
|
|
_image_binary_end = .;
|
2011-10-31 13:17:21 +00:00
|
|
|
|
|
|
|
.bss __rel_dyn_start (OVERLAY) : {
|
|
|
|
__bss_start = .;
|
2013-04-11 09:36:03 +00:00
|
|
|
*(.bss*)
|
2011-10-31 13:17:21 +00:00
|
|
|
. = ALIGN(4);
|
2013-03-14 06:54:53 +00:00
|
|
|
__bss_end = .;
|
2011-10-31 13:17:21 +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*) }
|
|
|
|
.hash : { *(.hash*) }
|
|
|
|
.plt : { *(.plt*) }
|
|
|
|
.interp : { *(.interp*) }
|
|
|
|
.gnu : { *(.gnu*) }
|
|
|
|
.ARM.exidx : { *(.ARM.exidx*) }
|
2011-10-31 13:17:21 +00:00
|
|
|
}
|