blob: 69854347952f11a6bed118d61bc6414b28ab7f2b [file] [log] [blame]
wdenk281e00a2004-08-01 22:48:16 +00001/*
Jean-Christophe PLAGNIOL-VILLARD10a451c2009-05-08 20:24:12 +02002 * (c) Copyright 2004
3 * Techware Information Technology, Inc.
4 * Ming-Len Wu <minglen_wu@techware.com.tw>
5 *
wdenk281e00a2004-08-01 22:48:16 +00006 * (C) Copyright 2000-2004
7 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
8 *
Jean-Christophe PLAGNIOL-VILLARD10a451c2009-05-08 20:24:12 +02009 * (C) Copyright 2002
10 * Gary Jennejohn, DENX Software Engineering, <gj@denx.de>
11 *
wdenk281e00a2004-08-01 22:48:16 +000012 * 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 */
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-VILLARD10a451c2009-05-08 20:24:12 +020040 .text :
wdenk281e00a2004-08-01 22:48:16 +000041 {
Peter Tyser84ad6882010-04-12 22:28:11 -050042 arch/arm/cpu/arm920t/start.o (.text)
wdenk281e00a2004-08-01 22:48:16 +000043 *(.text)
44 }
45
46 . = ALIGN(4);
Trent Piephof62fb992009-02-18 15:22:05 -080047 .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
wdenk281e00a2004-08-01 22:48:16 +000048
49 . = ALIGN(4);
Heiko Schochercc7cdcb2010-09-17 13:10:43 +020050 .data : {
51 *(.data)
52 __datarel_start = .;
53 *(.data.rel)
54 __datarelrolocal_start = .;
55 *(.data.rel.ro.local)
56 __datarellocal_start = .;
57 *(.data.rel.local)
58 __datarelro_start = .;
59 *(.data.rel.ro)
60 }
wdenk281e00a2004-08-01 22:48:16 +000061
Heiko Schochercc7cdcb2010-09-17 13:10:43 +020062 __got_start = .;
wdenk281e00a2004-08-01 22:48:16 +000063 . = ALIGN(4);
64 .got : { *(.got) }
65
Heiko Schochercc7cdcb2010-09-17 13:10:43 +020066 __got_end = .;
Wolfgang Denk807d5d72005-08-31 12:28:00 +020067 . = .;
wdenk281e00a2004-08-01 22:48:16 +000068 __u_boot_cmd_start = .;
69 .u_boot_cmd : { *(.u_boot_cmd) }
70 __u_boot_cmd_end = .;
71
72 . = ALIGN(4);
73 __bss_start = .;
Selvamuthukumar9b827cf2008-10-16 22:54:03 +053074 .bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
wdenk281e00a2004-08-01 22:48:16 +000075 _end = .;
76}