]> git.ipfire.org Git - people/ms/u-boot.git/blame - board/LEOX/elpt860/u-boot.lds.debug
Code cleanup.
[people/ms/u-boot.git] / board / LEOX / elpt860 / u-boot.lds.debug
CommitLineData
3bac3513
WD
1/*
2**=====================================================================
3**
4** Copyright (C) 2000, 2001, 2002, 2003
5** The LEOX team <team@leox.org>, http://www.leox.org
6**
7** LEOX.org is about the development of free hardware and software resources
8** for system on chip.
9**
10** Description: U-Boot port on the LEOX's ELPT860 CPU board
11** ~~~~~~~~~~~
12**
13**=====================================================================
14**
15** This program is free software; you can redistribute it and/or
16** modify it under the terms of the GNU General Public License as
17** published by the Free Software Foundation; either version 2 of
18** the License, or (at your option) any later version.
19**
20** This program is distributed in the hope that it will be useful,
21** but WITHOUT ANY WARRANTY; without even the implied warranty of
22** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23** GNU General Public License for more details.
24**
25** You should have received a copy of the GNU General Public License
26** along with this program; if not, write to the Free Software
27** Foundation, Inc., 59 Temple Place, Suite 330, Boston,
28** MA 02111-1307 USA
29**
30**=====================================================================
31*/
32
33OUTPUT_ARCH(powerpc)
34SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/local/powerpc-any-elf/lib);
35/* Do we need any of these for elf?
36 __DYNAMIC = 0; */
37SECTIONS
38{
39 /* Read-only sections, merged into text segment: */
40 . = + SIZEOF_HEADERS;
41 .interp : { *(.interp) }
42 .hash : { *(.hash) }
43 .dynsym : { *(.dynsym) }
44 .dynstr : { *(.dynstr) }
45 .rel.text : { *(.rel.text) }
dd520bf3 46 .rela.text : { *(.rela.text) }
3bac3513 47 .rel.data : { *(.rel.data) }
dd520bf3
WD
48 .rela.data : { *(.rela.data) }
49 .rel.rodata : { *(.rel.rodata) }
50 .rela.rodata : { *(.rela.rodata) }
3bac3513
WD
51 .rel.got : { *(.rel.got) }
52 .rela.got : { *(.rela.got) }
53 .rel.ctors : { *(.rel.ctors) }
54 .rela.ctors : { *(.rela.ctors) }
55 .rel.dtors : { *(.rel.dtors) }
56 .rela.dtors : { *(.rela.dtors) }
57 .rel.bss : { *(.rel.bss) }
58 .rela.bss : { *(.rela.bss) }
59 .rel.plt : { *(.rel.plt) }
60 .rela.plt : { *(.rela.plt) }
61 .init : { *(.init) }
62 .plt : { *(.plt) }
63 .text :
64 {
65 /* WARNING - the following is hand-optimized to fit within */
66 /* the sector layout of our flash chips! XXX FIXME XXX */
67
68 cpu/mpc8xx/start.o (.text)
69 common/dlmalloc.o (.text)
70 lib_generic/vsprintf.o (.text)
71 lib_generic/crc32.o (.text)
72
73 . = env_offset;
74 common/environment.o (.text)
75
76 *(.text)
77 *(.fixup)
78 *(.got1)
79 }
80 _etext = .;
81 PROVIDE (etext = .);
82 .rodata :
83 {
84 *(.rodata)
85 *(.rodata1)
7481266e
WD
86 *(.rodata.str1.4)
87 *(.eh_frame)
3bac3513
WD
88 }
89 .fini : { *(.fini) } =0
90 .ctors : { *(.ctors) }
91 .dtors : { *(.dtors) }
92
93 /* Read-write section, merged into data segment: */
94 . = (. + 0x0FFF) & 0xFFFFF000;
95 _erotext = .;
96 PROVIDE (erotext = .);
97 .reloc :
98 {
99 *(.got)
100 _GOT2_TABLE_ = .;
101 *(.got2)
102 _FIXUP_TABLE_ = .;
103 *(.fixup)
104 }
105 __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >>2;
106 __fixup_entries = (. - _FIXUP_TABLE_)>>2;
107
108 .data :
109 {
110 *(.data)
111 *(.data1)
112 *(.sdata)
113 *(.sdata2)
114 *(.dynamic)
115 CONSTRUCTORS
116 }
117 _edata = .;
118 PROVIDE (edata = .);
119
120 __start___ex_table = .;
121 __ex_table : { *(__ex_table) }
122 __stop___ex_table = .;
123
124 . = ALIGN(4096);
125 __init_begin = .;
126 .text.init : { *(.text.init) }
127 .data.init : { *(.data.init) }
128 . = ALIGN(4096);
129 __init_end = .;
130
131 __bss_start = .;
132 .bss :
133 {
134 *(.sbss) *(.scommon)
135 *(.dynbss)
136 *(.bss)
137 *(COMMON)
138 }
139 _end = . ;
140 PROVIDE (end = .);
141}