wdenk | 281e00a | 2004-08-01 22:48:16 +0000 | [diff] [blame] | 1 | /* |
Jean-Christophe PLAGNIOL-VILLARD | 10a451c | 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 | 281e00a | 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 | 10a451c | 2009-05-08 20:24:12 +0200 | [diff] [blame] | 9 | * (C) Copyright 2002 |
| 10 | * Gary Jennejohn, DENX Software Engineering, <gj@denx.de> |
| 11 | * |
wdenk | 281e00a | 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 | 10a451c | 2009-05-08 20:24:12 +0200 | [diff] [blame] | 40 | .text : |
wdenk | 281e00a | 2004-08-01 22:48:16 +0000 | [diff] [blame] | 41 | { |
Peter Tyser | 84ad688 | 2010-04-12 22:28:11 -0500 | [diff] [blame] | 42 | arch/arm/cpu/arm920t/start.o (.text) |
wdenk | 281e00a | 2004-08-01 22:48:16 +0000 | [diff] [blame] | 43 | *(.text) |
| 44 | } |
| 45 | |
| 46 | . = ALIGN(4); |
Trent Piepho | f62fb99 | 2009-02-18 15:22:05 -0800 | [diff] [blame] | 47 | .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) } |
wdenk | 281e00a | 2004-08-01 22:48:16 +0000 | [diff] [blame] | 48 | |
| 49 | . = ALIGN(4); |
Heiko Schocher | cc7cdcb | 2010-09-17 13:10:43 +0200 | [diff] [blame^] | 50 | .data : { |
| 51 | *(.data) |
| 52 | __datarel_start = .; |
| 53 | *(.data.rel) |
| 54 | __datarelrolocal_start = .; |
| 55 | *(.data.rel.ro.local) |
| 56 | __datarellocal_start = .; |
| 57 | *(.data.rel.local) |
| 58 | __datarelro_start = .; |
| 59 | *(.data.rel.ro) |
| 60 | } |
wdenk | 281e00a | 2004-08-01 22:48:16 +0000 | [diff] [blame] | 61 | |
Heiko Schocher | cc7cdcb | 2010-09-17 13:10:43 +0200 | [diff] [blame^] | 62 | __got_start = .; |
wdenk | 281e00a | 2004-08-01 22:48:16 +0000 | [diff] [blame] | 63 | . = ALIGN(4); |
| 64 | .got : { *(.got) } |
| 65 | |
Heiko Schocher | cc7cdcb | 2010-09-17 13:10:43 +0200 | [diff] [blame^] | 66 | __got_end = .; |
Wolfgang Denk | 807d5d7 | 2005-08-31 12:28:00 +0200 | [diff] [blame] | 67 | . = .; |
wdenk | 281e00a | 2004-08-01 22:48:16 +0000 | [diff] [blame] | 68 | __u_boot_cmd_start = .; |
| 69 | .u_boot_cmd : { *(.u_boot_cmd) } |
| 70 | __u_boot_cmd_end = .; |
| 71 | |
| 72 | . = ALIGN(4); |
| 73 | __bss_start = .; |
Selvamuthukumar | 9b827cf | 2008-10-16 22:54:03 +0530 | [diff] [blame] | 74 | .bss (NOLOAD) : { *(.bss) . = ALIGN(4); } |
wdenk | 281e00a | 2004-08-01 22:48:16 +0000 | [diff] [blame] | 75 | _end = .; |
| 76 | } |