]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/qi/qi_lb60/u-boot.lds
Merge remote-tracking branch 'u-boot-ti/master'
[karo-tx-uboot.git] / board / qi / qi_lb60 / u-boot.lds
1 /*
2  * (C) Copyright 2006
3  * Ingenic Semiconductor, <jlwei@ingenic.cn>
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License as
7  * published by the Free Software Foundation; either version 2 of
8  * the License, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
18  * MA 02111-1307 USA
19  */
20
21 OUTPUT_FORMAT("elf32-tradlittlemips", "elf32-tradlittlemips", "elf32-tradlittlemips")
22
23 OUTPUT_ARCH(mips)
24 ENTRY(_start)
25 SECTIONS
26 {
27         . = 0x00000000;
28
29         . = ALIGN(4);
30         .text :
31         {
32           *(.text*)
33         }
34
35         . = ALIGN(4);
36         .rodata  : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
37
38         . = ALIGN(4);
39         .data  : { *(.data*) }
40
41         . = .;
42         _gp = ALIGN(16) + 0x7ff0;
43
44         __got_start = .;
45         .got  : { *(.got) }
46         __got_end = .;
47
48         .sdata  : { *(.sdata*) }
49
50
51         . = ALIGN(4);
52         .u_boot_list : {
53         #include <u-boot.lst>
54         }
55
56         uboot_end_data = .;
57         num_got_entries = (__got_end - __got_start) >> 2;
58
59         . = ALIGN(4);
60         .sbss  : { *(.sbss*) }
61         .bss  : { *(.bss*) . = ALIGN(4); }
62         uboot_end = .;
63 }