]> git.ipfire.org Git - thirdparty/u-boot.git/blob - board/rbc823/u-boot.lds
Add GPL-2.0+ SPDX-License-Identifier to source files
[thirdparty/u-boot.git] / board / rbc823 / u-boot.lds
1 /*
2 * (C) Copyright 2000-2010
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 *
5 * SPDX-License-Identifier: GPL-2.0+
6 */
7
8 OUTPUT_ARCH(powerpc)
9
10 SECTIONS
11 {
12 /* Read-only sections, merged into text segment: */
13 . = + SIZEOF_HEADERS;
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
19 arch/powerpc/cpu/mpc8xx/start.o (.text*)
20 arch/powerpc/cpu/mpc8xx/traps.o (.text*)
21
22 lib/libgeneric.o (.text*)
23 net/libnet.o (.text*)
24 arch/powerpc/cpu/mpc8xx/libmpc8xx.o (.text*)
25 arch/powerpc/lib/libpowerpc.o (.text*)
26
27 . = env_offset;
28 common/env_embedded.o (.text*)
29
30 *(.text*)
31 }
32 _etext = .;
33 PROVIDE (etext = .);
34 .rodata :
35 {
36 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
37 }
38
39 /* Read-write section, merged into data segment: */
40 . = (. + 0x00FF) & 0xFFFFFF00;
41 _erotext = .;
42 PROVIDE (erotext = .);
43 .reloc :
44 {
45 _GOT2_TABLE_ = .;
46 KEEP(*(.got2))
47 KEEP(*(.got))
48 PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
49 _FIXUP_TABLE_ = .;
50 KEEP(*(.fixup))
51 }
52 __got2_entries = ((_GLOBAL_OFFSET_TABLE_ - _GOT2_TABLE_) >> 2) - 1;
53 __fixup_entries = (. - _FIXUP_TABLE_)>>2;
54
55 .data :
56 {
57 *(.data*)
58 *(.sdata*)
59 }
60 _edata = .;
61 PROVIDE (edata = .);
62
63 . = .;
64
65 . = ALIGN(4);
66 .u_boot_list : {
67 KEEP(*(SORT(.u_boot_list*)));
68 }
69
70 . = .;
71 __start___ex_table = .;
72 __ex_table : { *(__ex_table) }
73 __stop___ex_table = .;
74
75 . = ALIGN(256);
76 __init_begin = .;
77 .text.init : { *(.text.init) }
78 .data.init : { *(.data.init) }
79 . = ALIGN(256);
80 __init_end = .;
81
82 __bss_start = .;
83 .bss (NOLOAD) :
84 {
85 *(.bss*)
86 *(.sbss*)
87 *(COMMON)
88 . = ALIGN(4);
89 }
90 __bss_end = . ;
91 PROVIDE (end = .);
92 }