2011-11-08 23:18: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-11-08 23:18:21 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
|
|
|
|
OUTPUT_ARCH(arm)
|
|
|
|
ENTRY(_start)
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
. = 0x00000000;
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
.text :
|
|
|
|
{
|
2013-04-11 09:36:03 +00:00
|
|
|
arch/arm/cpu/arm926ejs/mxs/start.o (.text*)
|
|
|
|
*(.text*)
|
2011-11-08 23:18:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
.rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
.data : {
|
2013-04-11 09:36:03 +00:00
|
|
|
*(.data*)
|
2011-11-08 23:18:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
|
|
|
|
.rel.dyn : {
|
|
|
|
__rel_dyn_start = .;
|
|
|
|
*(.rel*)
|
|
|
|
__rel_dyn_end = .;
|
|
|
|
}
|
|
|
|
|
2011-12-08 09:46:12 +00:00
|
|
|
.bss : {
|
|
|
|
. = ALIGN(4);
|
2011-11-08 23:18:21 +00:00
|
|
|
__bss_start = .;
|
2011-12-08 09:46:12 +00:00
|
|
|
*(.bss*)
|
|
|
|
. = ALIGN(4);
|
2013-03-14 06:54:53 +00:00
|
|
|
__bss_end = .;
|
2011-11-08 23:18:21 +00:00
|
|
|
}
|
|
|
|
|
2011-12-08 09:46:12 +00:00
|
|
|
_end = .;
|
|
|
|
|
2011-11-08 23:18:21 +00:00
|
|
|
/DISCARD/ : { *(.dynstr*) }
|
|
|
|
/DISCARD/ : { *(.dynsym*) }
|
|
|
|
/DISCARD/ : { *(.dynamic*) }
|
|
|
|
/DISCARD/ : { *(.hash*) }
|
|
|
|
/DISCARD/ : { *(.plt*) }
|
|
|
|
/DISCARD/ : { *(.interp*) }
|
|
|
|
/DISCARD/ : { *(.gnu*) }
|
|
|
|
}
|