]> git.ipfire.org Git - thirdparty/u-boot.git/blame - board/korat/u-boot-F7FC.lds
Add GPL-2.0+ SPDX-License-Identifier to source files
[thirdparty/u-boot.git] / board / korat / u-boot-F7FC.lds
CommitLineData
6433fa20
LJ
1/*
2 * (C) Copyright 2002
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 *
1a459660 5 * SPDX-License-Identifier: GPL-2.0+
6433fa20
LJ
6 */
7
8OUTPUT_ARCH(powerpc)
6433fa20
LJ
9/* Do we need any of these for elf?
10 __DYNAMIC = 0; */
11SECTIONS
12{
13 .resetvec 0xF7FBFFFC :
14 {
15 *(.resetvec)
16 } = 0xffff
17
18 .bootpg 0xF7FBF000 :
19 {
a47a12be 20 arch/powerpc/cpu/ppc4xx/start.o (.bootpg)
6433fa20
LJ
21 } = 0xffff
22
23 /* Read-only sections, merged into text segment: */
24 . = + SIZEOF_HEADERS;
25 .interp : { *(.interp) }
26 .hash : { *(.hash) }
27 .dynsym : { *(.dynsym) }
28 .dynstr : { *(.dynstr) }
29 .rel.text : { *(.rel.text) }
53677ef1 30 .rela.text : { *(.rela.text) }
6433fa20 31 .rel.data : { *(.rel.data) }
53677ef1
WD
32 .rela.data : { *(.rela.data) }
33 .rel.rodata : { *(.rel.rodata) }
34 .rela.rodata : { *(.rela.rodata) }
6433fa20
LJ
35 .rel.got : { *(.rel.got) }
36 .rela.got : { *(.rela.got) }
37 .rel.ctors : { *(.rel.ctors) }
38 .rela.ctors : { *(.rela.ctors) }
39 .rel.dtors : { *(.rel.dtors) }
40 .rela.dtors : { *(.rela.dtors) }
41 .rel.bss : { *(.rel.bss) }
42 .rela.bss : { *(.rela.bss) }
43 .rel.plt : { *(.rel.plt) }
44 .rela.plt : { *(.rela.plt) }
45 .init : { *(.init) }
46 .plt : { *(.plt) }
47 .text :
48 {
49 /* WARNING - the following is hand-optimized to fit within */
50 /* the sector layout of our flash chips! XXX FIXME XXX */
51
a47a12be 52 arch/powerpc/cpu/ppc4xx/start.o (.text)
6433fa20
LJ
53
54 *(.text)
6433fa20
LJ
55 *(.got1)
56 }
57 _etext = .;
58 PROVIDE (etext = .);
59 .rodata :
60 {
f62fb999 61 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
6433fa20
LJ
62 }
63 .fini : { *(.fini) } =0
64 .ctors : { *(.ctors) }
65 .dtors : { *(.dtors) }
66
67 /* Read-write section, merged into data segment: */
68 . = (. + 0x00FF) & 0xFFFFFF00;
69 _erotext = .;
70 PROVIDE (erotext = .);
71 .reloc :
72 {
73 *(.got)
74 _GOT2_TABLE_ = .;
75 *(.got2)
76 _FIXUP_TABLE_ = .;
77 *(.fixup)
78 }
79 __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >>2;
80 __fixup_entries = (. - _FIXUP_TABLE_)>>2;
81
82 .data :
83 {
84 *(.data)
85 *(.data1)
86 *(.sdata)
87 *(.sdata2)
88 *(.dynamic)
89 CONSTRUCTORS
90 }
91 _edata = .;
92 PROVIDE (edata = .);
93
94 . = .;
6433fa20 95
55675142 96 .u_boot_list : {
ef123c52 97 KEEP(*(SORT(.u_boot_list*)));
55675142 98 }
6433fa20
LJ
99
100 . = .;
101 __start___ex_table = .;
102 __ex_table : { *(__ex_table) }
103 __stop___ex_table = .;
104
105 . = ALIGN(256);
106 __init_begin = .;
107 .text.init : { *(.text.init) }
108 .data.init : { *(.data.init) }
109 . = ALIGN(256);
110 __init_end = .;
111
112 __bss_start = .;
113 .bss (NOLOAD) :
114 {
115 *(.sbss) *(.scommon)
116 *(.dynbss)
117 *(.bss)
118 *(COMMON)
9b827cf1 119 . = ALIGN(4);
6433fa20
LJ
120 }
121
3929fb0a 122 __bss_end = . ;
6433fa20
LJ
123 PROVIDE (end = .);
124}