]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/powerpc/cpu/mpc824x/u-boot.lds
mpc8260: remove atc board support
[people/ms/u-boot.git] / arch / powerpc / cpu / mpc824x / u-boot.lds
CommitLineData
5fc59175 1/*
de550d6b 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)
5fc59175
GL
9/* Do we need any of these for elf?
10 __DYNAMIC = 0; */
11SECTIONS
12{
13 /* Read-only sections, merged into text segment: */
5fc59175
GL
14 .text :
15 {
de550d6b
WD
16 arch/powerpc/cpu/mpc824x/start.o (.text*)
17 *(.text*)
5fc59175 18 . = ALIGN(16);
f62fb999 19 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
5fc59175 20 }
5fc59175
GL
21
22 /* Read-write section, merged into data segment: */
23 . = (. + 0x0FFF) & 0xFFFFF000;
24 _erotext = .;
25 PROVIDE (erotext = .);
26 .reloc :
27 {
5fc59175 28 _GOT2_TABLE_ = .;
de550d6b 29 KEEP(*(.got2))
337f5f50
JT
30 KEEP(*(.got))
31 PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
5fc59175 32 _FIXUP_TABLE_ = .;
de550d6b 33 KEEP(*(.fixup))
5fc59175 34 }
337f5f50 35 __got2_entries = ((_GLOBAL_OFFSET_TABLE_ - _GOT2_TABLE_) >> 2) - 1;
5fc59175
GL
36 __fixup_entries = (. - _FIXUP_TABLE_) >> 2;
37
38 .data :
39 {
de550d6b
WD
40 *(.data*)
41 *(.sdata*)
5fc59175
GL
42 }
43 _edata = .;
44 PROVIDE (edata = .);
45
46 . = .;
5fc59175 47
55675142
MV
48 . = ALIGN(4);
49 .u_boot_list : {
ef123c52 50 KEEP(*(SORT(.u_boot_list*)));
55675142
MV
51 }
52
5fc59175
GL
53
54 . = .;
55 __start___ex_table = .;
56 __ex_table : { *(__ex_table) }
57 __stop___ex_table = .;
58
59 . = ALIGN(4096);
60 __init_begin = .;
61 .text.init : { *(.text.init) }
62 .data.init : { *(.data.init) }
63 . = ALIGN(4096);
64 __init_end = .;
65
66 __bss_start = .;
64134f01 67 .bss (NOLOAD) :
5fc59175 68 {
de550d6b
WD
69 *(.bss*)
70 *(.sbss*)
5fc59175 71 *(COMMON)
9b827cf1 72 . = ALIGN(4);
5fc59175 73 }
3929fb0a 74 __bss_end = . ;
5fc59175
GL
75 PROVIDE (end = .);
76}