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