]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/armv7/socfpga/u-boot-spl.lds
Merge branch 'master' of git://git.denx.de/u-boot-arc
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / socfpga / u-boot-spl.lds
1 /*
2  *  Copyright (C) 2012 Altera Corporation <www.altera.com>
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 MEMORY { .sdram : ORIGIN = (0), LENGTH = (0xffffffff) }
8
9 OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
10 OUTPUT_ARCH(arm)
11 ENTRY(_start)
12 SECTIONS
13 {
14         . = 0x00000000;
15
16         . = ALIGN(4);
17         .text   :
18         {
19                 *(.vectors)
20                 arch/arm/cpu/armv7/start.o      (.text*)
21                 *(.text*)
22         } >.sdram
23
24         . = ALIGN(4);
25         .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) } >.sdram
26
27         . = ALIGN(4);
28         .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sdram
29
30         . = ALIGN(4);
31         __image_copy_end = .;
32
33         .end :
34         {
35                 *(.__end)
36         }
37
38         .bss : {
39                 . = ALIGN(4);
40                 __bss_start = .;
41                 *(.bss*)
42                 . = ALIGN(4);
43                 __bss_end = .;
44         } >.sdram
45
46         . = ALIGN(8);
47         __malloc_start = .;
48         . = . + CONFIG_SPL_MALLOC_SIZE;
49         __malloc_end = .;
50
51         . = . + CONFIG_SPL_STACK_SIZE;
52         . = ALIGN(8);
53         __stack_start = .;
54 }