2008-01-16 18:50:37 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2000
|
|
|
|
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
*
|
|
|
|
* See file CREDITS for list of people who contributed to this
|
|
|
|
* project.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of
|
|
|
|
* the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
|
* MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
OUTPUT_FORMAT ("elf32-bigarm", "elf32-bigarm", "elf32-bigarm")
|
|
|
|
OUTPUT_ARCH (arm)
|
|
|
|
ENTRY (_start)
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
. = 0x00000000;
|
|
|
|
|
|
|
|
. = ALIGN (4);
|
|
|
|
.text : {
|
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
|
|
|
|
|
|
|
__image_copy_end = .;
|
|
|
|
|
2011-05-22 22:00:04 +00:00
|
|
|
.rel.dyn : {
|
|
|
|
__rel_dyn_start = .;
|
|
|
|
*(.rel*)
|
|
|
|
__rel_dyn_end = .;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dynsym : {
|
|
|
|
__dynsym_start = .;
|
|
|
|
*(.dynsym)
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|