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