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