Peter Pearse | ba348b5 | 2007-11-09 15:24:26 +0000 | [diff] [blame] | 1 | /* |
| 2 | * |
| 3 | * Copyright (C) 2005-2007 Samsung Electronics |
| 4 | * Kyungin Park <kyugnmin.park@samsung.com> |
| 5 | * |
| 6 | * January 2004 - Changed to support H4 device |
| 7 | * Copyright (c) 2004 Texas Instruments |
| 8 | * |
| 9 | * (C) Copyright 2002 |
| 10 | * Gary Jennejohn, DENX Software Engineering, <gj@denx.de> |
| 11 | * |
| 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 | OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") |
| 32 | OUTPUT_ARCH(arm) |
| 33 | ENTRY(_start) |
| 34 | SECTIONS |
| 35 | { |
| 36 | . = 0x00000000; |
| 37 | |
| 38 | . = ALIGN(4); |
Peter Pearse | d82a83f | 2007-11-15 08:45:13 +0000 | [diff] [blame] | 39 | .text : |
Peter Pearse | ba348b5 | 2007-11-09 15:24:26 +0000 | [diff] [blame] | 40 | { |
| 41 | cpu/arm1136/start.o (.text) |
| 42 | *(.text) |
| 43 | } |
| 44 | |
| 45 | . = ALIGN(4); |
| 46 | .rodata : { *(.rodata) } |
| 47 | |
| 48 | . = ALIGN(4); |
| 49 | .data : { *(.data) } |
| 50 | |
| 51 | . = ALIGN(4); |
| 52 | .got : { *(.got) } |
| 53 | |
| 54 | . = .; |
| 55 | __u_boot_cmd_start = .; |
| 56 | .u_boot_cmd : { *(.u_boot_cmd) } |
| 57 | __u_boot_cmd_end = .; |
| 58 | |
| 59 | . = ALIGN(4); |
| 60 | __bss_start = .; |
Wolfgang Denk | 828a978 | 2008-01-12 20:31:39 +0100 | [diff] [blame^] | 61 | .bss (NOLOAD) : { *(.bss) } |
Peter Pearse | ba348b5 | 2007-11-09 15:24:26 +0000 | [diff] [blame] | 62 | _end = .; |
| 63 | } |