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