blob: 299226b95fadc090297dc6c195a9dc0423512e4e [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ébaudeau1a9a91d2013-04-11 09:36:03 +000021 arch/arm/cpu/arm926ejs/start.o (.text*)
Masahiro Yamadae2906a52013-11-11 14:36:00 +090022 arch/arm/cpu/arm926ejs/davinci/built-in.o (.text*)
23 drivers/mtd/nand/built-in.o (.text*)
Sughosh Ganu48571ff2010-11-30 11:25:01 -050024
Sughosh Ganu6b873dc2012-02-02 00:44:41 +000025 *(.text*)
Sughosh Ganu48571ff2010-11-30 11:25:01 -050026 }
27
28 . = ALIGN(4);
Benoît Thébaudeau1a9a91d2013-04-11 09:36:03 +000029 .rodata : { *(.rodata*) }
Sughosh Ganu48571ff2010-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ébaudeau7086e912013-04-11 09:35:46 +000045 __image_copy_end = .;
Sughosh Ganu48571ff2010-11-30 11:25:01 -050046 __rel_dyn_start = .;
47 __rel_dyn_end = .;
Sughosh Ganu48571ff2010-11-30 11:25:01 -050048
49 __got_start = .;
50 . = ALIGN(4);
51 .got : { *(.got) }
52
53 __got_end = .;
54
Sughosh Ganu6b873dc2012-02-02 00:44:41 +000055 .bss :
56 {
57 . = ALIGN(4);
58 __bss_start = .;
59 *(.bss*)
60 . = ALIGN(4);
Simon Glass3929fb02013-03-14 06:54:53 +000061 __bss_end = .;
Sughosh Ganu6b873dc2012-02-02 00:44:41 +000062 }
Sughosh Ganu9a290462011-04-10 10:16:08 +000063
Albert ARIBAUDd0b5d9d2014-02-22 17:53:42 +010064 .end :
65 {
66 *(.__end)
67 }
Sughosh Ganu48571ff2010-11-30 11:25:01 -050068}