blob: 67652569f4bf94499648a07fe5be8ea87c57abba [file] [log] [blame]
Simon Glass00cca632015-02-07 11:51:38 -07001/*
2 * (C) Copyright 2009
3 * Stefan Roese, DENX Software Engineering, sr@denx.de.
4 *
5 * SPDX-License-Identifier: GPL-2.0+
6 */
7
8OUTPUT_ARCH(powerpc)
9SECTIONS
10{
11 /* Read-only sections, merged into text segment: */
12 . = + SIZEOF_HEADERS;
13 .text :
14 {
15 arch/powerpc/cpu/ppc4xx/start.o (.text*)
16 board/amcc/canyonlands/init.o (.text*)
17
18 *(.text*)
19 }
20 _etext = .;
21 PROVIDE (etext = .);
22 .rodata :
23 {
24 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
25 }
26
27 /* Read-write section, merged into data segment: */
28 . = (. + 0x00FF) & 0xFFFFFF00;
29 _erotext = .;
30 PROVIDE (erotext = .);
31 .reloc :
32 {
33 KEEP(*(.got))
34 _GOT2_TABLE_ = .;
35 KEEP(*(.got2))
36 _FIXUP_TABLE_ = .;
37 KEEP(*(.fixup))
38 }
39 __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >>2;
40 __fixup_entries = (. - _FIXUP_TABLE_)>>2;
41
42 .data :
43 {
44 *(.data*)
45 *(.sdata*)
46 }
47 _edata = .;
48 PROVIDE (edata = .);
49
50 . = .;
51
52 .u_boot_list : {
53 KEEP(*(SORT(.u_boot_list*)));
54 }
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 {
71 *(.bss*)
72 *(.sbss*)
73 *(COMMON)
74 . = ALIGN(4);
75 }
76
77 __bss_end = . ;
78 PROVIDE (end = .);
79}