blob: 682f2685dc11293111419f77d9913dff927157f1 [file] [log] [blame]
Sughosh Ganu1b9c52b2010-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 Denkd79de1d2013-07-08 09:37:19 +02008 * SPDX-License-Identifier: GPL-2.0+
Sughosh Ganu1b9c52b2010-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ébaudeau3f7740f2014-08-21 15:43:11 +020021 *(.vectors)
Benoît Thébaudeau3954db82013-04-11 09:36:03 +000022 arch/arm/cpu/arm926ejs/start.o (.text*)
Masahiro Yamada30a198b2013-11-11 14:36:00 +090023 arch/arm/cpu/arm926ejs/davinci/built-in.o (.text*)
24 drivers/mtd/nand/built-in.o (.text*)
Sughosh Ganu1b9c52b2010-11-30 11:25:01 -050025
Sughosh Ganua2616972012-02-02 00:44:41 +000026 *(.text*)
Sughosh Ganu1b9c52b2010-11-30 11:25:01 -050027 }
28
29 . = ALIGN(4);
Benoît Thébaudeau3954db82013-04-11 09:36:03 +000030 .rodata : { *(.rodata*) }
Sughosh Ganu1b9c52b2010-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ébaudeau03bae032013-04-11 09:35:46 +000046 __image_copy_end = .;
Sughosh Ganu1b9c52b2010-11-30 11:25:01 -050047 __rel_dyn_start = .;
48 __rel_dyn_end = .;
Sughosh Ganu1b9c52b2010-11-30 11:25:01 -050049
50 __got_start = .;
51 . = ALIGN(4);
52 .got : { *(.got) }
53
54 __got_end = .;
55
Sughosh Ganua2616972012-02-02 00:44:41 +000056 .bss :
57 {
58 . = ALIGN(4);
59 __bss_start = .;
60 *(.bss*)
61 . = ALIGN(4);
Simon Glassed70c8f2013-03-14 06:54:53 +000062 __bss_end = .;
Sughosh Ganua2616972012-02-02 00:44:41 +000063 }
Sughosh Ganu72b4cbd2011-04-10 10:16:08 +000064
Albert ARIBAUD9d25fa42014-02-22 17:53:42 +010065 .end :
66 {
67 *(.__end)
68 }
Sughosh Ganu1b9c52b2010-11-30 11:25:01 -050069}