]> git.ipfire.org Git - people/ms/u-boot.git/blame - board/ep88x/u-boot.lds
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / board / ep88x / u-boot.lds
CommitLineData
84c960ce 1/*
cd0402a7 2 * (C) Copyright 2001-2010
84c960ce
WD
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 *
5 * Modified by Yuli Barcohen <yuli@arabellasw.com>
6 *
1a459660 7 * SPDX-License-Identifier: GPL-2.0+
84c960ce
WD
8 */
9
10OUTPUT_ARCH(powerpc)
11SECTIONS
12{
13 /* Read-only sections, merged into text segment: */
14 . = + SIZEOF_HEADERS;
84c960ce
WD
15 .text :
16 {
cd0402a7
WD
17 arch/powerpc/cpu/mpc8xx/start.o (.text*)
18 arch/powerpc/cpu/mpc8xx/traps.o (.text*)
19 *(.text*)
84c960ce 20 . = ALIGN(16);
f62fb999 21 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
84c960ce 22 }
84c960ce
WD
23
24 /* Read-write section, merged into data segment: */
25 . = (. + 0x0FFF) & 0xFFFFF000;
26 _erotext = .;
27 PROVIDE (erotext = .);
28 .reloc :
29 {
84c960ce 30 _GOT2_TABLE_ = .;
cd0402a7 31 KEEP(*(.got2))
9d8fbd1b
JT
32 KEEP(*(.got))
33 PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
84c960ce 34 _FIXUP_TABLE_ = .;
cd0402a7 35 KEEP(*(.fixup))
84c960ce
WD
36 }
37 __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >> 2;
38 __fixup_entries = (. - _FIXUP_TABLE_) >> 2;
39
40 .data :
41 {
cd0402a7
WD
42 *(.data*)
43 *(.sdata*)
84c960ce
WD
44 }
45 _edata = .;
46 PROVIDE (edata = .);
47
de7cf709 48 . = .;
84c960ce 49
55675142
MV
50 . = ALIGN(4);
51 .u_boot_list : {
ef123c52 52 KEEP(*(SORT(.u_boot_list*)));
55675142
MV
53 }
54
84c960ce 55
de7cf709 56 . = .;
84c960ce
WD
57 __start___ex_table = .;
58 __ex_table : { *(__ex_table) }
59 __stop___ex_table = .;
60
61 . = ALIGN(4096);
62 __init_begin = .;
63 .text.init : { *(.text.init) }
64 .data.init : { *(.data.init) }
65 . = ALIGN(4096);
66 __init_end = .;
67
68 __bss_start = .;
64134f01 69 .bss (NOLOAD) :
84c960ce 70 {
cd0402a7
WD
71 *(.bss*)
72 *(.sbss*)
84c960ce 73 *(COMMON)
9b827cf1 74 . = ALIGN(4);
84c960ce 75 }
3929fb0a 76 __bss_end = . ;
84c960ce
WD
77 PROVIDE (end = .);
78}
79ENTRY(_start)