]> git.ipfire.org Git - thirdparty/u-boot.git/blame - arch/powerpc/cpu/mpc83xx/u-boot-spl.lds
Add GPL-2.0+ SPDX-License-Identifier to source files
[thirdparty/u-boot.git] / arch / powerpc / cpu / mpc83xx / u-boot-spl.lds
CommitLineData
06f60ae3
SW
1/*
2 * (C) Copyright 2006
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 *
5 * Copyright 2008 Freescale Semiconductor, Inc.
6 *
1a459660 7 * SPDX-License-Identifier: GPL-2.0+
06f60ae3
SW
8 */
9
10OUTPUT_ARCH(powerpc)
11SECTIONS
12{
13 . = 0xfff00000;
14 .text : {
15 *(.text*)
16 . = ALIGN(16);
17 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
18 }
19
20 . = ALIGN(8);
21 .data : {
22 *(.data*)
23 *(.sdata*)
24 _GOT2_TABLE_ = .;
25 KEEP(*(.got2))
26 KEEP(*(.got))
27 PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
28 }
29 __got2_entries = ((_GLOBAL_OFFSET_TABLE_ - _GOT2_TABLE_) >> 2) - 1;
30
31 . = ALIGN(8);
32 __bss_start = .;
33 .bss (NOLOAD) : {
34 *(.*bss)
35 }
3929fb0a 36 __bss_end = .;
06f60ae3
SW
37}
38ENTRY(_start)
3929fb0a 39ASSERT(__bss_end <= 0xfff01000, "NAND bootstrap too big");