blob: 946994d507ab3ca8f3950ba91bfb6dee289b28c6 [file] [log] [blame]
wdenk2d24a3a2004-06-09 21:50:45 +00001/*
2 * board/mx1ads/u-boot.lds
3 *
4 * (c) Copyright 2004
5 * Techware Information Technology, Inc.
6 * http://www.techware.com.tw/
7 *
8 * Ming-Len Wu <minglen_wu@techware.com.tw>
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
27OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
28OUTPUT_ARCH(arm)
29ENTRY(_start)
30SECTIONS
31{
32 . = 0x00000000;
33
34 . = ALIGN(4);
35 .text :
36 {
37 cpu/mc9328/start.o (.text)
38 *(.text)
39 }
40
41 . = ALIGN(4);
42 .rodata : { *(.rodata) }
43
44 . = ALIGN(4);
45 .data : { *(.data) }
46
47 . = ALIGN(4);
48 .got : { *(.got) }
49
50 __u_boot_cmd_start = .;
51 .u_boot_cmd : { *(.u_boot_cmd) }
52 __u_boot_cmd_end = .;
53
54 . = ALIGN(4);
55 __bss_start = .;
56 .bss : { *(.bss) }
57 _end = .;
58}