2008-01-16 18:50:37 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2000
|
|
|
|
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2008-01-16 18:50:37 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
OUTPUT_FORMAT ("elf32-bigarm", "elf32-bigarm", "elf32-bigarm")
|
|
|
|
OUTPUT_ARCH (arm)
|
|
|
|
ENTRY (_start)
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
. = 0x00000000;
|
|
|
|
|
|
|
|
. = ALIGN (4);
|
|
|
|
.text : {
|
2013-06-11 12:17:33 +00:00
|
|
|
*(.__image_copy_start)
|
2011-05-22 22:00:04 +00:00
|
|
|
arch/arm/cpu/ixp/start.o(.text*)
|
|
|
|
net/libnet.o(.text*)
|
|
|
|
board/actux1/libactux1.o(.text*)
|
|
|
|
arch/arm/cpu/ixp/libixp.o(.text*)
|
2012-10-17 10:18:29 +00:00
|
|
|
drivers/input/libinput.o(.text*)
|
2011-05-22 22:00:04 +00:00
|
|
|
|
2008-01-16 18:50:37 +00:00
|
|
|
. = env_offset;
|
2008-09-10 20:48:01 +00:00
|
|
|
common/env_embedded.o(.ppcenv)
|
2011-05-22 22:00:04 +00:00
|
|
|
*(.text*)
|
2008-01-16 18:50:37 +00:00
|
|
|
}
|
|
|
|
|
2013-02-25 00:58:59 +00:00
|
|
|
. = ALIGN(4);
|
2008-01-16 18:50:37 +00:00
|
|
|
.rodata : {
|
2009-02-18 23:22:05 +00:00
|
|
|
*(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
|
2008-01-16 18:50:37 +00:00
|
|
|
}
|
2013-02-25 00:58:59 +00:00
|
|
|
. = ALIGN(4);
|
2008-01-16 18:50:37 +00:00
|
|
|
.data : {
|
2011-05-22 22:00:04 +00:00
|
|
|
*(.data*)
|
2008-01-16 18:50:37 +00:00
|
|
|
}
|
2013-02-25 00:58:59 +00:00
|
|
|
. = ALIGN(4);
|
2008-01-16 18:50:37 +00:00
|
|
|
.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
|
|
|
}
|
|
|
|
|
2008-01-16 18:50:37 +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
|
|
|
|
2013-06-11 12:17:34 +00:00
|
|
|
.rel_dyn_start :
|
|
|
|
{
|
|
|
|
*(.__rel_dyn_start)
|
|
|
|
}
|
|
|
|
|
2011-05-22 22:00:04 +00:00
|
|
|
.rel.dyn : {
|
|
|
|
*(.rel*)
|
2013-06-11 12:17:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.rel_dyn_end :
|
|
|
|
{
|
|
|
|
*(.__rel_dyn_end)
|
2011-05-22 22:00:04 +00:00
|
|
|
}
|
|
|
|
|
2013-02-25 00:58:59 +00:00
|
|
|
_end = .;
|
|
|
|
|
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) : {
|
2011-05-22 22:00:04 +00:00
|
|
|
*(.bss*)
|
|
|
|
. = ALIGN(4);
|
2013-04-11 05:43:21 +00:00
|
|
|
__bss_limit = .;
|
2008-01-16 18:50:37 +00:00
|
|
|
}
|
2013-04-11 05:43:21 +00:00
|
|
|
.bss_end __bss_limit (OVERLAY) : {
|
|
|
|
KEEP(*(.__bss_end));
|
2013-02-25 00:58:59 +00:00
|
|
|
}
|
|
|
|
|
2013-06-11 12:17:31 +00:00
|
|
|
/DISCARD/ : { *(.dynsym) }
|
2011-05-22 22:00:04 +00:00
|
|
|
/DISCARD/ : { *(.dynstr*) }
|
|
|
|
/DISCARD/ : { *(.dynamic*) }
|
|
|
|
/DISCARD/ : { *(.plt*) }
|
|
|
|
/DISCARD/ : { *(.interp*) }
|
|
|
|
/DISCARD/ : { *(.gnu*) }
|
2008-01-16 18:50:37 +00:00
|
|
|
}
|