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