blob: e43130aa67831880d82897b11a4af3c625d60d41 [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ébaudeau3954db82013-04-11 09:36:03 +000021 arch/arm/cpu/arm926ejs/start.o (.text*)
22 arch/arm/cpu/arm926ejs/davinci/libdavinci.o (.text*)
23 drivers/mtd/nand/libnand.o (.text*)
Sughosh Ganu1b9c52b2010-11-30 11:25:01 -050024
Sughosh Ganua2616972012-02-02 00:44:41 +000025 *(.text*)
Sughosh Ganu1b9c52b2010-11-30 11:25:01 -050026 }
27
28 . = ALIGN(4);
Benoît Thébaudeau3954db82013-04-11 09:36:03 +000029 .rodata : { *(.rodata*) }
Sughosh Ganu1b9c52b2010-11-30 11:25:01 -050030
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ébaudeau03bae032013-04-11 09:35:46 +000045 __image_copy_end = .;
Sughosh Ganu1b9c52b2010-11-30 11:25:01 -050046 __rel_dyn_start = .;
47 __rel_dyn_end = .;
Sughosh Ganu1b9c52b2010-11-30 11:25:01 -050048
49 __got_start = .;
50 . = ALIGN(4);
51 .got : { *(.got) }
52
53 __got_end = .;
54
Sughosh Ganua2616972012-02-02 00:44:41 +000055 .bss :
56 {
57 . = ALIGN(4);
58 __bss_start = .;
59 *(.bss*)
60 . = ALIGN(4);
Simon Glassed70c8f2013-03-14 06:54:53 +000061 __bss_end = .;
Sughosh Ganua2616972012-02-02 00:44:41 +000062 }
Sughosh Ganu72b4cbd2011-04-10 10:16:08 +000063
Sughosh Ganua2616972012-02-02 00:44:41 +000064 _end = .;
Sughosh Ganu1b9c52b2010-11-30 11:25:01 -050065}