Sughosh Ganu | 1b9c52b | 2010-11-30 11:25:01 -0500 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2002 |
| 3 | * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de> |
| 4 | * |
| 5 | * (C) Copyright 2008 |
| 6 | * Guennadi Liakhovetki, DENX Software Engineering, <lg@denx.de> |
| 7 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 8 | * SPDX-License-Identifier: GPL-2.0+ |
Sughosh Ganu | 1b9c52b | 2010-11-30 11:25:01 -0500 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") |
| 12 | OUTPUT_ARCH(arm) |
| 13 | ENTRY(_start) |
| 14 | SECTIONS |
| 15 | { |
| 16 | . = 0xc1080000; |
| 17 | |
| 18 | . = ALIGN(4); |
| 19 | .text : |
| 20 | { |
Benoît Thébaudeau | 3954db8 | 2013-04-11 09:36:03 +0000 | [diff] [blame] | 21 | arch/arm/cpu/arm926ejs/start.o (.text*) |
Masahiro Yamada | 30a198b | 2013-11-11 14:36:00 +0900 | [diff] [blame] | 22 | arch/arm/cpu/arm926ejs/davinci/built-in.o (.text*) |
| 23 | drivers/mtd/nand/built-in.o (.text*) |
Sughosh Ganu | 1b9c52b | 2010-11-30 11:25:01 -0500 | [diff] [blame] | 24 | |
Sughosh Ganu | a261697 | 2012-02-02 00:44:41 +0000 | [diff] [blame] | 25 | *(.text*) |
Sughosh Ganu | 1b9c52b | 2010-11-30 11:25:01 -0500 | [diff] [blame] | 26 | } |
| 27 | |
| 28 | . = ALIGN(4); |
Benoît Thébaudeau | 3954db8 | 2013-04-11 09:36:03 +0000 | [diff] [blame] | 29 | .rodata : { *(.rodata*) } |
Sughosh Ganu | 1b9c52b | 2010-11-30 11:25:01 -0500 | [diff] [blame] | 30 | |
| 31 | . = ALIGN(4); |
| 32 | .data : { |
| 33 | *(.data) |
| 34 | __datarel_start = .; |
| 35 | *(.data.rel) |
| 36 | __datarelrolocal_start = .; |
| 37 | *(.data.rel.ro.local) |
| 38 | __datarellocal_start = .; |
| 39 | *(.data.rel.local) |
| 40 | __datarelro_start = .; |
| 41 | *(.data.rel.ro) |
| 42 | } |
| 43 | |
| 44 | . = ALIGN(4); |
Benoît Thébaudeau | 03bae03 | 2013-04-11 09:35:46 +0000 | [diff] [blame] | 45 | __image_copy_end = .; |
Sughosh Ganu | 1b9c52b | 2010-11-30 11:25:01 -0500 | [diff] [blame] | 46 | __rel_dyn_start = .; |
| 47 | __rel_dyn_end = .; |
Sughosh Ganu | 1b9c52b | 2010-11-30 11:25:01 -0500 | [diff] [blame] | 48 | |
| 49 | __got_start = .; |
| 50 | . = ALIGN(4); |
| 51 | .got : { *(.got) } |
| 52 | |
| 53 | __got_end = .; |
| 54 | |
Sughosh Ganu | a261697 | 2012-02-02 00:44:41 +0000 | [diff] [blame] | 55 | .bss : |
| 56 | { |
| 57 | . = ALIGN(4); |
| 58 | __bss_start = .; |
| 59 | *(.bss*) |
| 60 | . = ALIGN(4); |
Simon Glass | ed70c8f | 2013-03-14 06:54:53 +0000 | [diff] [blame] | 61 | __bss_end = .; |
Sughosh Ganu | a261697 | 2012-02-02 00:44:41 +0000 | [diff] [blame] | 62 | } |
Sughosh Ganu | 72b4cbd | 2011-04-10 10:16:08 +0000 | [diff] [blame] | 63 | |
Albert ARIBAUD | 9d25fa4 | 2014-02-22 17:53:42 +0100 | [diff] [blame^] | 64 | .end : |
| 65 | { |
| 66 | *(.__end) |
| 67 | } |
Sughosh Ganu | 1b9c52b | 2010-11-30 11:25:01 -0500 | [diff] [blame] | 68 | } |