blob: 7181a569eaf58325513661b09da8ac45383aadef [file] [log] [blame]
Peter Pearseba348b52007-11-09 15:24:26 +00001/*
Jean-Christophe PLAGNIOL-VILLARD7580b862009-05-08 20:24:12 +02002 * (C) Copyright 2009
3 * Ilya Yanok, Emcraft Systems Ltd, <yanok@emcraft.com>
Peter Pearseba348b52007-11-09 15:24:26 +00004 *
5 * Copyright (C) 2005-2007 Samsung Electronics
6 * Kyungin Park <kyugnmin.park@samsung.com>
7 *
Peter Pearseba348b52007-11-09 15:24:26 +00008 * Copyright (c) 2004 Texas Instruments
9 *
10 * (C) Copyright 2002
Detlev Zundelf1b3f2b2009-05-13 10:54:10 +020011 * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
Peter Pearseba348b52007-11-09 15:24:26 +000012 *
13 * See file CREDITS for list of people who contributed to this
14 * project.
15 *
16 * This program is free software; you can redistribute it and/or
17 * modify it under the terms of the GNU General Public License as
18 * published by the Free Software Foundation; either version 2 of
19 * the License, or (at your option) any later version.
20 *
21 * This program is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 * GNU General Public License for more details.
25 *
26 * You should have received a copy of the GNU General Public License
27 * along with this program; if not, write to the Free Software
28 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
29 * MA 02111-1307 USA
30 */
31
32OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
33OUTPUT_ARCH(arm)
34ENTRY(_start)
35SECTIONS
36{
37 . = 0x00000000;
38
39 . = ALIGN(4);
Jean-Christophe PLAGNIOL-VILLARD7580b862009-05-08 20:24:12 +020040 .text :
Peter Pearseba348b52007-11-09 15:24:26 +000041 {
42 cpu/arm1136/start.o (.text)
43 *(.text)
44 }
45
46 . = ALIGN(4);
Trent Piepho4438e5e2009-02-18 15:22:05 -080047 .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
Peter Pearseba348b52007-11-09 15:24:26 +000048
49 . = ALIGN(4);
50 .data : { *(.data) }
51
52 . = ALIGN(4);
53 .got : { *(.got) }
54
55 . = .;
56 __u_boot_cmd_start = .;
57 .u_boot_cmd : { *(.u_boot_cmd) }
58 __u_boot_cmd_end = .;
59
60 . = ALIGN(4);
61 __bss_start = .;
Selvamuthukumard2454ba2008-10-16 22:54:03 +053062 .bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
Peter Pearseba348b52007-11-09 15:24:26 +000063 _end = .;
64}