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