]> git.ipfire.org Git - people/ms/u-boot.git/blob - board/emk/top860/u-boot.lds
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / board / emk / top860 / u-boot.lds
1 /*
2 * (C) Copyright 2000-2010
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 *
5 * SPDX-License-Identifier: GPL-2.0+
6 */
7
8 OUTPUT_ARCH(powerpc)
9
10 SECTIONS
11 {
12 /* Read-only sections, merged into text segment: */
13 . = + SIZEOF_HEADERS;
14 .text :
15 {
16 arch/powerpc/cpu/mpc8xx/start.o (.text*)
17 arch/powerpc/cpu/mpc8xx/traps.o (.text*)
18
19 *(.text*)
20 }
21 _etext = .;
22 PROVIDE (etext = .);
23 .rodata :
24 {
25 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
26 }
27
28 /* Read-write section, merged into data segment: */
29 . = (. + 0x00FF) & 0xFFFFFF00;
30 _erotext = .;
31 PROVIDE (erotext = .);
32 .reloc :
33 {
34 _GOT2_TABLE_ = .;
35 KEEP(*(.got2))
36 KEEP(*(.got))
37 PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
38 _FIXUP_TABLE_ = .;
39 KEEP(*(.fixup))
40 }
41 __got2_entries = ((_GLOBAL_OFFSET_TABLE_ - _GOT2_TABLE_) >> 2) - 1;
42 __fixup_entries = (. - _FIXUP_TABLE_)>>2;
43
44 .data :
45 {
46 *(.data*)
47 *(.sdata*)
48 }
49 _edata = .;
50 PROVIDE (edata = .);
51
52
53 . = .;
54
55 . = ALIGN(4);
56 .u_boot_list : {
57 KEEP(*(SORT(.u_boot_list*)));
58 }
59
60
61 . = .;
62 __start___ex_table = .;
63 __ex_table : { *(__ex_table) }
64 __stop___ex_table = .;
65
66 . = ALIGN(256);
67 __init_begin = .;
68 .text.init : { *(.text.init) }
69 .data.init : { *(.data.init) }
70 . = ALIGN(256);
71 __init_end = .;
72
73 __bss_start = .;
74 .bss (NOLOAD) :
75 {
76 *(.bss*)
77 *(.sbss*)
78 *(COMMON)
79 . = ALIGN(4);
80 }
81 __bss_end = . ;
82 PROVIDE (end = .);
83 }