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