tizen 2.4 release
[kernel/u-boot-tm1.git] / arch / arm / cpu / arm1136 / u-boot.lds
1 /*
2  * (C) Copyright 2009
3  * Ilya Yanok, Emcraft Systems Ltd, <yanok@emcraft.com>
4  *
5  * Copyright (C) 2005-2007 Samsung Electronics
6  * Kyungin Park <kyugnmin.park@samsung.com>
7  *
8  * Copyright (c) 2004 Texas Instruments
9  *
10  * (C) Copyright 2002
11  * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
12  *
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
25  * GNU General Public License for more details.
26  *
27  * You should have received a copy of the GNU General Public License
28  * along with this program; if not, write to the Free Software
29  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
30  * MA 02111-1307 USA
31  */
32
33 OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
34 OUTPUT_ARCH(arm)
35 ENTRY(_start)
36 SECTIONS
37 {
38         . = 0x00000000;
39
40         . = ALIGN(4);
41         .text :
42         {
43                 arch/arm/cpu/arm1136/start.o    (.text)
44                 *(.text)
45         }
46
47         . = ALIGN(4);
48         .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
49
50         . = ALIGN(4);
51         .data : {
52                 *(.data)
53         }
54
55         . = ALIGN(4);
56
57         . = .;
58         __u_boot_cmd_start = .;
59         .u_boot_cmd : { *(.u_boot_cmd) }
60         __u_boot_cmd_end = .;
61
62         . = ALIGN(4);
63
64         .rel.dyn : {
65                 __rel_dyn_start = .;
66                 *(.rel*)
67                 __rel_dyn_end = .;
68         }
69
70         .dynsym : {
71                 __dynsym_start = .;
72                 *(.dynsym)
73         }
74
75         .bss __rel_dyn_start (OVERLAY) : {
76                 __bss_start = .;
77                 *(.bss)
78                  . = ALIGN(4);
79                 _end = .;
80         }
81
82         /DISCARD/ : { *(.dynstr*) }
83         /DISCARD/ : { *(.dynamic*) }
84         /DISCARD/ : { *(.plt*) }
85         /DISCARD/ : { *(.interp*) }
86         /DISCARD/ : { *(.gnu*) }
87 }