]> git.ipfire.org Git - people/ms/u-boot.git/blame - nand_spl/board/sheldon/simpc8313/u-boot.lds
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / nand_spl / board / sheldon / simpc8313 / u-boot.lds
CommitLineData
5bb907a4
RM
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+
5bb907a4
RM
8 */
9
10OUTPUT_ARCH(powerpc)
11SECTIONS
12{
13 . = 0xfff00000;
14 .text : {
15 *(.text*)
16 . = ALIGN(16);
5bb907a4 17 *(.eh_frame)
f62fb999 18 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
5bb907a4
RM
19 }
20
21 . = ALIGN(8);
22 .data : {
23 *(.data*)
24 *(.sdata*)
25 _GOT2_TABLE_ = .;
26 *(.got2)
ee0270df
JT
27 KEEP(*(.got))
28 PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
5bb907a4 29 }
ee0270df 30 __got2_entries = ((_GLOBAL_OFFSET_TABLE_ - _GOT2_TABLE_) >> 2) - 1;
5bb907a4
RM
31
32 . = ALIGN(8);
33 __bss_start = .;
34 .bss (NOLOAD) : { *(.*bss) }
3929fb0a 35 __bss_end = .;
5bb907a4
RM
36}
37ENTRY(_start)
3929fb0a 38ASSERT(__bss_end <= 0xfff01000, "NAND bootstrap too big");