]> git.ipfire.org Git - people/ms/u-boot.git/blob - board/tb0229/u-boot.lds
[MIPS] u-boot.lds: Remove duplicated .sdata section
[people/ms/u-boot.git] / board / tb0229 / u-boot.lds
1 /*
2 * (C) Masami Komiya <mkomiya@sonare.it> 2004
3 *
4 * (C) Copyright 2003
5 * Wolfgang Denk Engineering, <wd@denx.de>
6 *
7 * See file CREDITS for list of people who contributed to this
8 * project.
9 *
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License as
12 * published by the Free Software Foundation; either version 2 of
13 * the License, or (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
23 * MA 02111-1307 USA
24 */
25
26 OUTPUT_FORMAT("elf32-tradlittlemips", "elf32-tradlittlemips", "elf32-tradlittlemips")
27
28 OUTPUT_ARCH(mips)
29 ENTRY(_start)
30 SECTIONS
31 {
32 . = 0x00000000;
33
34 . = ALIGN(4);
35 .text :
36 {
37 *(.text)
38 }
39
40 . = ALIGN(4);
41 .rodata : { *(.rodata) }
42
43 . = ALIGN(4);
44 .data : { *(.data) }
45
46 _gp = ALIGN(16);
47
48 __got_start = .;
49 .got : { *(.got) }
50 __got_end = .;
51
52 .sdata : { *(.sdata) }
53
54 . = .;
55 __u_boot_cmd_start = .;
56 .u_boot_cmd : { *(.u_boot_cmd) }
57 __u_boot_cmd_end = .;
58
59 uboot_end_data = .;
60 num_got_entries = (__got_end - __got_start) >> 2;
61
62 . = ALIGN(4);
63 .sbss : { *(.sbss) }
64 .bss : { *(.bss) }
65 uboot_end = .;
66 }