2 * U-boot - u-boot.lds.S
4 * Copyright (c) 2005-2007 Analog Device Inc.
6 * (C) Copyright 2000-2004
7 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
9 * See file CREDITS for list of people who contributed to this
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License as
14 * published by the Free Software Foundation; either version 2 of
15 * the License, or (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
31 SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib);
32 /* Do we need any of these for elf?
36 ram : ORIGIN = (CFG_MONITOR_BASE), LENGTH = (256 * 1024)
37 l1_code : ORIGIN = 0xFFA00000, LENGTH = 0xC000
38 l1_data : ORIGIN = 0xFF900000, LENGTH = 0x4000
43 /* Read-only sections, merged into text segment: */
44 . = + SIZEOF_HEADERS; /*0x1000;*/
45 .interp : { *(.interp) }
47 .dynsym : { *(.dynsym) }
48 .dynstr : { *(.dynstr) }
49 .rel.text : { *(.rel.text) }
50 .rela.text : { *(.rela.text) }
51 .rel.data : { *(.rel.data) }
52 .rela.data : { *(.rela.data) }
53 .rel.rodata : { *(.rel.rodata) }
54 .rela.rodata : { *(.rela.rodata) }
55 .rel.got : { *(.rel.got) }
56 .rela.got : { *(.rela.got) }
57 .rel.ctors : { *(.rel.ctors) }
58 .rela.ctors : { *(.rela.ctors) }
59 .rel.dtors : { *(.rel.dtors) }
60 .rela.dtors : { *(.rela.dtors) }
61 .rel.bss : { *(.rel.bss) }
62 .rela.bss : { *(.rela.bss) }
63 .rel.plt : { *(.rel.plt) }
64 .rela.plt : { *(.rela.plt) }
70 /* WARNING - the following is hand-optimized to fit within */
71 /* the sector before the environment sector. If it throws */
72 /* an error during compilation remove an object here to get */
73 /* it linked after the configuration sector. */
75 cpu/bf537/start.o (.text)
76 cpu/bf537/start1.o (.text)
77 cpu/bf537/traps.o (.text)
78 cpu/bf537/interrupt.o (.text)
79 cpu/bf537/serial.o (.text)
80 common/dlmalloc.o (.text)
81 /* lib_blackfin/bf533_string.o (.text) */
82 /* lib_generic/vsprintf.o (.text) */
83 lib_generic/crc32.o (.text)
84 /* lib_generic/zlib.o (.text) */
85 /* board/bf537-stamp/bf537-stamp.o (.text) */
87 . = DEFINED(env_offset) ? env_offset : .;
88 common/environment.o (.text)
90 *(EXCLUDE_FILE (board/bf537-stamp/post-memory.o) .text)
100 PROVIDE (text_l1 = .);
101 board/bf537-stamp/post-memory.o (.text)
104 PROVIDE (etext_l1 = .);
110 *(EXCLUDE_FILE (board/bf537-stamp/post-memory.o) .rodata)
111 *(EXCLUDE_FILE (board/bf537-stamp/post-memory.o) .rodata1)
112 *(EXCLUDE_FILE (board/bf537-stamp/post-memory.o) .rodata.str1.4)
119 PROVIDE (erodata = .);
124 PROVIDE (rodata_l1 = .);
125 board/bf537-stamp/post-memory.o (.rodata)
126 board/bf537-stamp/post-memory.o (.rodata1)
127 board/bf537-stamp/post-memory.o (.rodata.str1.4)
130 PROVIDE(erodata_l1 = .);
133 .fini : { *(.fini) } =0
134 .ctors : { *(.ctors) }
135 .dtors : { *(.dtors) }
137 /* Read-write section, merged into data segment: */
138 . = (. + 0x00FF) & 0xFFFFFF00;
140 PROVIDE (erotext = .);
149 __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >>2;
150 __fixup_entries = (. - _FIXUP_TABLE_)>>2;
164 ___u_boot_cmd_start = .;
165 .u_boot_cmd : { *(.u_boot_cmd) } > ram
166 ___u_boot_cmd_end = .;
169 __start___ex_table = .;
170 __ex_table : { *(__ex_table) }
171 __stop___ex_table = .;
175 .text.init : { *(.text.init) }
176 .data.init : { *(.data.init) }