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 | 3f7740f | 2014-08-21 15:43:11 +0200 | [diff] [blame] | 21 | *(.vectors) |
Benoît Thébaudeau | 3954db8 | 2013-04-11 09:36:03 +0000 | [diff] [blame] | 22 | arch/arm/cpu/arm926ejs/start.o (.text*) |
Masahiro Yamada | 30a198b | 2013-11-11 14:36:00 +0900 | [diff] [blame] | 23 | arch/arm/cpu/arm926ejs/davinci/built-in.o (.text*) |
| 24 | drivers/mtd/nand/built-in.o (.text*) |
Sughosh Ganu | 1b9c52b | 2010-11-30 11:25:01 -0500 | [diff] [blame] | 25 | |
Sughosh Ganu | a261697 | 2012-02-02 00:44:41 +0000 | [diff] [blame] | 26 | *(.text*) |
Sughosh Ganu | 1b9c52b | 2010-11-30 11:25:01 -0500 | [diff] [blame] | 27 | } |
| 28 | |
| 29 | . = ALIGN(4); |
Benoît Thébaudeau | 3954db8 | 2013-04-11 09:36:03 +0000 | [diff] [blame] | 30 | .rodata : { *(.rodata*) } |
Sughosh Ganu | 1b9c52b | 2010-11-30 11:25:01 -0500 | [diff] [blame] | 31 | |
| 32 | . = ALIGN(4); |
| 33 | .data : { |
| 34 | *(.data) |
| 35 | __datarel_start = .; |
| 36 | *(.data.rel) |
| 37 | __datarelrolocal_start = .; |
| 38 | *(.data.rel.ro.local) |
| 39 | __datarellocal_start = .; |
| 40 | *(.data.rel.local) |
| 41 | __datarelro_start = .; |
| 42 | *(.data.rel.ro) |
| 43 | } |
| 44 | |
| 45 | . = ALIGN(4); |
Benoît Thébaudeau | 03bae03 | 2013-04-11 09:35:46 +0000 | [diff] [blame] | 46 | __image_copy_end = .; |
Sughosh Ganu | 1b9c52b | 2010-11-30 11:25:01 -0500 | [diff] [blame] | 47 | __rel_dyn_start = .; |
| 48 | __rel_dyn_end = .; |
Sughosh Ganu | 1b9c52b | 2010-11-30 11:25:01 -0500 | [diff] [blame] | 49 | |
| 50 | __got_start = .; |
| 51 | . = ALIGN(4); |
| 52 | .got : { *(.got) } |
| 53 | |
| 54 | __got_end = .; |
| 55 | |
Sughosh Ganu | a261697 | 2012-02-02 00:44:41 +0000 | [diff] [blame] | 56 | .bss : |
| 57 | { |
| 58 | . = ALIGN(4); |
| 59 | __bss_start = .; |
| 60 | *(.bss*) |
| 61 | . = ALIGN(4); |
Simon Glass | ed70c8f | 2013-03-14 06:54:53 +0000 | [diff] [blame] | 62 | __bss_end = .; |
Sughosh Ganu | a261697 | 2012-02-02 00:44:41 +0000 | [diff] [blame] | 63 | } |
Sughosh Ganu | 72b4cbd | 2011-04-10 10:16:08 +0000 | [diff] [blame] | 64 | |
Albert ARIBAUD | 9d25fa4 | 2014-02-22 17:53:42 +0100 | [diff] [blame] | 65 | .end : |
| 66 | { |
| 67 | *(.__end) |
| 68 | } |
Sughosh Ganu | 1b9c52b | 2010-11-30 11:25:01 -0500 | [diff] [blame] | 69 | } |