]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/glsdk-u-boot.git/blob - board/mousse/u-boot.lds.ram
omap5_common.h: Switch to ext4
[glsdk/glsdk-u-boot.git] / board / mousse / u-boot.lds.ram
1 /*
2  * (C) Copyright 2000
3  * Rob Taylor, Flying Pig Systems Ltd. robt@flyingpig.com
4  *
5  * See file CREDITS for list of people who contributed to this
6  * project.
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License as
10  * published by the Free Software Foundation; either version 2 of
11  * the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21  * MA 02111-1307 USA
22  */
24 OUTPUT_ARCH(powerpc)
26 MEMORY {
27         ram  (!rx) : org = 0x00000000 , LENGTH = 8M
28         code (!rx) : org = 0x00002000 , LENGTH = (4M - 0x2000)
29         rom   (rx) : org = 0xfff00000 , LENGTH = 512K
30 }
32 SECTIONS
33 {
34   _f_init = .;
35   PROVIDE(_f_init = .);
36   _f_init_rom = .;
37   PROVIDE(_f_init_rom = .);
39   .init : {
40       arch/powerpc/cpu/mpc824x/start.o  (.text)
41       *(.init)
42   } > ram
43   _init_size = SIZEOF(.init);
44   PROVIDE(_init_size = SIZEOF(.init));
46   ENTRY(_start)
48 /*  _ftext = .;
49   _ftext_rom = .;
50   _text_size = SIZEOF(.text);
51  */
52   .text : {
53       *(.text)
54       *(.got1)
55       } > ram
56   .rodata : { *(.rodata) } > ram
57   .dtors : { *(.dtors) } > ram
58   .data : { *(.data) } > ram
59   .sdata : { *(.sdata) } > ram
60   .sdata2 : { *(.sdata2)
61       *(.got)
62     _GOT2_TABLE_ = .;
63     *(.got2)
64     _FIXUP_TABLE_ = .;
65     *(.fixup)
66     } > ram
67   __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >>2;
68   __fixup_entries = (. - _FIXUP_TABLE_)>>2;
70   .sbss : { *(.sbss) } > ram
71   .sbss2 : { *(.sbss2) } > ram
72   .bss : { *(.bss) } > ram
73   .debug : { *(.debug) } > ram
74   .line : { *(.line) } > ram
75   .symtab : { *(.symtab) } > ram
76   .shrstrtab : { *(.shstrtab) } > ram
77   .strtab : { *(.strtab) } > ram
78  /* .reloc   :
79   {
80     *(.got)
81     _GOT2_TABLE_ = .;
82     *(.got2)
83     _FIXUP_TABLE_ = .;
84     *(.fixup)
85   } > ram
86   */
89    __start___ex_table = .;
90     __ex_table : { *(__ex_table) } > ram
91     __stop___ex_table = .;
94   .ppcenv       :
95   {
96     common/env_embedded.o (.ppcenv)
97   } > ram
99   __bss_end__ = . ;
100   PROVIDE (end = .);