2010-02-01 20:29:39 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2002
|
|
|
|
* Gary Jennejohn, DENX Software Engineering, <gj@denx.de>
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2010-02-01 20:29:39 +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)
|
2014-04-15 14:13:51 +00:00
|
|
|
*(.vectors)
|
|
|
|
arch/arm/cpu/arm920t/start.o (.text*)
|
2010-02-01 20:29:39 +00:00
|
|
|
/* the EP93xx expects to find the pattern 'CRUS' at 0x1000 */
|
|
|
|
. = 0x1000;
|
|
|
|
LONG(0x53555243)
|
2013-04-11 09:36:03 +00:00
|
|
|
*(.text*)
|
2010-02-01 20:29:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
2013-04-11 09:36:03 +00:00
|
|
|
.rodata : { *(.rodata*) }
|
2010-02-01 20:29:39 +00:00
|
|
|
|
|
|
|
. = ALIGN(4);
|
2013-04-11 09:36:03 +00:00
|
|
|
.data : { *(.data*) }
|
2010-02-01 20:29:39 +00:00
|
|
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
.got : { *(.got) }
|
|
|
|
|
|
|
|
. = .;
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2010-02-01 20:29:39 +00:00
|
|
|
. = ALIGN(4);
|
2013-04-11 09:35:46 +00:00
|
|
|
|
2013-06-11 12:17:33 +00:00
|
|
|
.image_copy_end :
|
|
|
|
{
|
|
|
|
*(.__image_copy_end)
|
|
|
|
}
|
2013-04-11 09:35:46 +00:00
|
|
|
|
2010-02-01 20:29:39 +00:00
|
|
|
__bss_start = .;
|
2013-04-11 09:36:03 +00:00
|
|
|
.bss : { *(.bss*) }
|
2013-03-14 06:54:53 +00:00
|
|
|
__bss_end = .;
|
2011-03-01 23:02:04 +00:00
|
|
|
|
2014-02-22 16:53:42 +00:00
|
|
|
.end :
|
|
|
|
{
|
|
|
|
*(.__end)
|
|
|
|
}
|
2010-02-01 20:29:39 +00:00
|
|
|
}
|