blob: 5c629db139bae17b89ff55121c180513d62f4bd1 [file] [log] [blame]
Sughosh Ganu48571ff2010-11-30 11:25:01 -05001/*
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 Denk1a459662013-07-08 09:37:19 +02008 * SPDX-License-Identifier: GPL-2.0+
Sughosh Ganu48571ff2010-11-30 11:25:01 -05009 */
10
11OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
12OUTPUT_ARCH(arm)
13ENTRY(_start)
14SECTIONS
15{
16 . = 0xc1080000;
17
18 . = ALIGN(4);
19 .text :
20 {
Benoît Thébaudeaueeadd3f2014-08-21 15:43:11 +020021 *(.vectors)
Benoît Thébaudeau1a9a91d2013-04-11 09:36:03 +000022 arch/arm/cpu/arm926ejs/start.o (.text*)
Masahiro Yamada165ecd22014-11-13 12:28:40 +090023 arch/arm/cpu/arm926ejs/built-in.o (.text*)
Masahiro Yamadae2906a52013-11-11 14:36:00 +090024 drivers/mtd/nand/built-in.o (.text*)
Sughosh Ganu48571ff2010-11-30 11:25:01 -050025
Sughosh Ganu6b873dc2012-02-02 00:44:41 +000026 *(.text*)
Sughosh Ganu48571ff2010-11-30 11:25:01 -050027 }
28
29 . = ALIGN(4);
Benoît Thébaudeau1a9a91d2013-04-11 09:36:03 +000030 .rodata : { *(.rodata*) }
Sughosh Ganu48571ff2010-11-30 11:25:01 -050031
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ébaudeau7086e912013-04-11 09:35:46 +000046 __image_copy_end = .;
Sughosh Ganu48571ff2010-11-30 11:25:01 -050047 __rel_dyn_start = .;
48 __rel_dyn_end = .;
Sughosh Ganu48571ff2010-11-30 11:25:01 -050049
50 __got_start = .;
51 . = ALIGN(4);
52 .got : { *(.got) }
53
54 __got_end = .;
55
Sughosh Ganu6b873dc2012-02-02 00:44:41 +000056 .bss :
57 {
58 . = ALIGN(4);
59 __bss_start = .;
60 *(.bss*)
61 . = ALIGN(4);
Simon Glass3929fb02013-03-14 06:54:53 +000062 __bss_end = .;
Sughosh Ganu6b873dc2012-02-02 00:44:41 +000063 }
Sughosh Ganu9a290462011-04-10 10:16:08 +000064
Albert ARIBAUDd0b5d9d2014-02-22 17:53:42 +010065 .end :
66 {
67 *(.__end)
68 }
Sughosh Ganu48571ff2010-11-30 11:25:01 -050069}