wdenk | 7ac1610 | 2004-08-01 22:48:16 +0000 | [diff] [blame] | 1 | /* |
Jean-Christophe PLAGNIOL-VILLARD | 7580b86 | 2009-05-08 20:24:12 +0200 | [diff] [blame] | 2 | * (c) Copyright 2004 |
| 3 | * Techware Information Technology, Inc. |
| 4 | * Ming-Len Wu <minglen_wu@techware.com.tw> |
| 5 | * |
wdenk | 7ac1610 | 2004-08-01 22:48:16 +0000 | [diff] [blame] | 6 | * (C) Copyright 2000-2004 |
| 7 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 8 | * |
Jean-Christophe PLAGNIOL-VILLARD | 7580b86 | 2009-05-08 20:24:12 +0200 | [diff] [blame] | 9 | * (C) Copyright 2002 |
| 10 | * Gary Jennejohn, DENX Software Engineering, <gj@denx.de> |
| 11 | * |
wdenk | 7ac1610 | 2004-08-01 22:48:16 +0000 | [diff] [blame] | 12 | * See file CREDITS for list of people who contributed to this |
| 13 | * project. |
| 14 | * |
| 15 | * This program is free software; you can redistribute it and/or |
| 16 | * modify it under the terms of the GNU General Public License as |
| 17 | * published by the Free Software Foundation; either version 2 of |
| 18 | * the License, or (at your option) any later version. |
| 19 | * |
| 20 | * This program is distributed in the hope that it will be useful, |
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 23 | * GNU General Public License for more details. |
| 24 | * |
| 25 | * You should have received a copy of the GNU General Public License |
| 26 | * along with this program; if not, write to the Free Software |
| 27 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
| 28 | * MA 02111-1307 USA |
| 29 | * |
| 30 | */ |
| 31 | |
| 32 | OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") |
| 33 | OUTPUT_ARCH(arm) |
| 34 | ENTRY(_start) |
| 35 | SECTIONS |
| 36 | { |
| 37 | . = 0x00000000; |
| 38 | |
| 39 | . = ALIGN(4); |
Jean-Christophe PLAGNIOL-VILLARD | 7580b86 | 2009-05-08 20:24:12 +0200 | [diff] [blame] | 40 | .text : |
wdenk | 7ac1610 | 2004-08-01 22:48:16 +0000 | [diff] [blame] | 41 | { |
Peter Tyser | f7c6737 | 2010-04-12 22:28:11 -0500 | [diff] [blame] | 42 | arch/arm/cpu/arm920t/start.o (.text) |
wdenk | 7ac1610 | 2004-08-01 22:48:16 +0000 | [diff] [blame] | 43 | *(.text) |
| 44 | } |
| 45 | |
| 46 | . = ALIGN(4); |
Trent Piepho | 4438e5e | 2009-02-18 15:22:05 -0800 | [diff] [blame] | 47 | .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) } |
wdenk | 7ac1610 | 2004-08-01 22:48:16 +0000 | [diff] [blame] | 48 | |
| 49 | . = ALIGN(4); |
Heiko Schocher | 271a240 | 2010-09-17 13:10:43 +0200 | [diff] [blame] | 50 | .data : { |
| 51 | *(.data) |
Heiko Schocher | 271a240 | 2010-09-17 13:10:43 +0200 | [diff] [blame] | 52 | } |
wdenk | 7ac1610 | 2004-08-01 22:48:16 +0000 | [diff] [blame] | 53 | |
| 54 | . = ALIGN(4); |
wdenk | 7ac1610 | 2004-08-01 22:48:16 +0000 | [diff] [blame] | 55 | |
Wolfgang Denk | 5dd2c65 | 2005-08-31 12:28:00 +0200 | [diff] [blame] | 56 | . = .; |
wdenk | 7ac1610 | 2004-08-01 22:48:16 +0000 | [diff] [blame] | 57 | __u_boot_cmd_start = .; |
| 58 | .u_boot_cmd : { *(.u_boot_cmd) } |
| 59 | __u_boot_cmd_end = .; |
| 60 | |
| 61 | . = ALIGN(4); |
Albert Aribaud | 126897e | 2010-11-25 22:45:02 +0100 | [diff] [blame] | 62 | |
| 63 | .rel.dyn : { |
| 64 | __rel_dyn_start = .; |
| 65 | *(.rel*) |
| 66 | __rel_dyn_end = .; |
| 67 | } |
| 68 | |
| 69 | .dynsym : { |
| 70 | __dynsym_start = .; |
| 71 | *(.dynsym) |
| 72 | } |
| 73 | |
Po-Yu Chuang | 1864b00 | 2011-03-01 23:02:04 +0000 | [diff] [blame] | 74 | _end = .; |
| 75 | |
Albert Aribaud | 126897e | 2010-11-25 22:45:02 +0100 | [diff] [blame] | 76 | .bss __rel_dyn_start (OVERLAY) : { |
| 77 | __bss_start = .; |
| 78 | *(.bss) |
| 79 | . = ALIGN(4); |
Po-Yu Chuang | cedbf4b | 2011-03-01 22:59:59 +0000 | [diff] [blame] | 80 | __bss_end__ = .; |
Albert Aribaud | 126897e | 2010-11-25 22:45:02 +0100 | [diff] [blame] | 81 | } |
| 82 | |
| 83 | /DISCARD/ : { *(.dynstr*) } |
| 84 | /DISCARD/ : { *(.dynamic*) } |
| 85 | /DISCARD/ : { *(.plt*) } |
| 86 | /DISCARD/ : { *(.interp*) } |
| 87 | /DISCARD/ : { *(.gnu*) } |
wdenk | 7ac1610 | 2004-08-01 22:48:16 +0000 | [diff] [blame] | 88 | } |