]> git.ipfire.org Git - people/ms/u-boot.git/blame - board/vpac270/u-boot-spl.lds
arm: make _end compiler-generated
[people/ms/u-boot.git] / board / vpac270 / u-boot-spl.lds
CommitLineData
411b9eaf
MV
1/*
2 * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
3 * on behalf of DENX Software Engineering GmbH
4 *
5 * January 2004 - Changed to support H4 device
6 * Copyright (c) 2004-2008 Texas Instruments
7 *
8 * (C) Copyright 2002
9 * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
10 *
1a459660 11 * SPDX-License-Identifier: GPL-2.0+
411b9eaf
MV
12 */
13
14OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
15OUTPUT_ARCH(arm)
16ENTRY(_start)
17SECTIONS
18{
19 . = CONFIG_SPL_TEXT_BASE;
20 .text.0 :
21 {
22 arch/arm/cpu/pxa/start.o (.text*)
67decc71 23 arch/arm/lib/built-in.o (.text*)
e2906a59
MY
24 board/vpac270/built-in.o (.text*)
25 drivers/mtd/onenand/built-in.o (.text*)
411b9eaf
MV
26 }
27
28
29 /* Start of the rest of the SPL */
30 . = CONFIG_SPL_TEXT_BASE + 0x800;
31
32 .text.1 :
33 {
34 *(.text*)
35 }
36
37 . = ALIGN(4);
38 .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
39
40 . = ALIGN(4);
41 .data : {
1a9a91dc 42 *(.data*)
411b9eaf
MV
43 }
44
45 . = ALIGN(4);
46
7086e91b
BT
47 __image_copy_end = .;
48
411b9eaf
MV
49 .rel.dyn : {
50 __rel_dyn_start = .;
51 *(.rel*)
52 __rel_dyn_end = .;
53 }
54
411b9eaf
MV
55 . = ALIGN(0x800);
56
d0b5d9da
AA
57 .end :
58 {
59 *(.__end)
60 }
61
62 _image_binary_end = .;
411b9eaf
MV
63
64 .bss __rel_dyn_start (OVERLAY) : {
65 __bss_start = .;
1a9a91dc 66 *(.bss*)
411b9eaf 67 . = ALIGN(4);
3929fb0a 68 __bss_end = .;
411b9eaf
MV
69 }
70
d0b5d9da 71 .dynsym _image_binary_end : { *(.dynsym) }
47ed5dd0
AA
72 .dynbss : { *(.dynbss) }
73 .dynstr : { *(.dynstr*) }
74 .dynamic : { *(.dynamic*) }
75 .hash : { *(.hash*) }
76 .plt : { *(.plt*) }
77 .interp : { *(.interp*) }
78 .gnu : { *(.gnu*) }
79 .ARM.exidx : { *(.ARM.exidx*) }
411b9eaf 80}