]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/karo/tx53/u-boot.lds
TX6 Release 2013-04-22
[karo-tx-uboot.git] / board / karo / tx53 / u-boot.lds
1 /*
2  * (C) Copyright 2012  Lothar Waßmann <LW@KARO-electronics.de>
3  *
4  * See file CREDITS for list of people who contributed to this
5  * project.
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License as
9  * published by the Free Software Foundation; either version 2 of
10  * the License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
20  * MA 02111-1307 USA
21  */
22 OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
23 OUTPUT_ARCH(arm)
24 ENTRY(_start)
25 SECTIONS
26 {
27         . = 0x00000000;
28
29         . = ALIGN(4);
30         .text :
31         {
32                 board/karo/tx53/lowlevel_init.o (.text*)
33                 __image_copy_start = .;
34                 CPUDIR/start.o (.text*)
35                 *(.text*)
36         }
37
38         . = ALIGN(4);
39         .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
40
41         . = ALIGN(4);
42         .data : {
43                 *(.data*)
44         }
45
46         . = ALIGN(4);
47
48         . = .;
49
50         . = ALIGN(4);
51         .u_boot_list : {
52         #include <u-boot.lst>
53         }
54
55         . = ALIGN(4);
56
57         __image_copy_end = .;
58
59         .rel.dyn : {
60                 __rel_dyn_start = .;
61                 *(.rel*)
62                 __rel_dyn_end = .;
63         }
64
65         .dynsym : {
66                 __dynsym_start = .;
67                 *(.dynsym)
68         }
69
70         _end = .;
71
72         .bss __rel_dyn_start (OVERLAY) : {
73                 __bss_start = .;
74                 *(.bss)
75                  . = ALIGN(4);
76                 __bss_end__ = .;
77         }
78
79         /DISCARD/ : { *(.dynstr*) }
80         /DISCARD/ : { *(.dynamic*) }
81         /DISCARD/ : { *(.plt*) }
82         /DISCARD/ : { *(.interp*) }
83         /DISCARD/ : { *(.gnu*) }
84 }