]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/freescale/mpc8555cds/u-boot.lds
Big white-space cleanup.
[karo-tx-uboot.git] / board / freescale / mpc8555cds / u-boot.lds
1 /*
2  * Copyright 2004 Freescale Semiconductor.
3  *
4  * See file CREDITS for list of people who contributed to this
5  * project.
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License as
9  * published by the Free Software Foundation; either version 2 of
10  * the License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
20  * MA 02111-1307 USA
21  */
22
23 OUTPUT_ARCH(powerpc)
24 /* Do we need any of these for elf?
25    __DYNAMIC = 0;    */
26 SECTIONS
27 {
28   .resetvec 0xFFFFFFFC :
29   {
30     *(.resetvec)
31   } = 0xffff
32
33   .bootpg 0xFFFFF000 :
34   {
35     cpu/mpc85xx/start.o (.bootpg)
36   } = 0xffff
37
38   /* Read-only sections, merged into text segment: */
39   . = + SIZEOF_HEADERS;
40   .interp : { *(.interp) }
41   .hash          : { *(.hash)           }
42   .dynsym        : { *(.dynsym)         }
43   .dynstr        : { *(.dynstr)         }
44   .rel.text      : { *(.rel.text)               }
45   .rela.text     : { *(.rela.text)      }
46   .rel.data      : { *(.rel.data)               }
47   .rela.data     : { *(.rela.data)      }
48   .rel.rodata    : { *(.rel.rodata)     }
49   .rela.rodata   : { *(.rela.rodata)    }
50   .rel.got       : { *(.rel.got)                }
51   .rela.got      : { *(.rela.got)               }
52   .rel.ctors     : { *(.rel.ctors)      }
53   .rela.ctors    : { *(.rela.ctors)     }
54   .rel.dtors     : { *(.rel.dtors)      }
55   .rela.dtors    : { *(.rela.dtors)     }
56   .rel.bss       : { *(.rel.bss)                }
57   .rela.bss      : { *(.rela.bss)               }
58   .rel.plt       : { *(.rel.plt)                }
59   .rela.plt      : { *(.rela.plt)               }
60   .init          : { *(.init)   }
61   .plt : { *(.plt) }
62   .text      :
63   {
64     cpu/mpc85xx/start.o (.text)
65     cpu/mpc85xx/traps.o (.text)
66     cpu/mpc85xx/interrupts.o (.text)
67     cpu/mpc85xx/cpu_init.o (.text)
68     cpu/mpc85xx/cpu.o (.text)
69     drivers/net/tsec.o (.text)
70     cpu/mpc85xx/speed.o (.text)
71     cpu/mpc85xx/pci.o (.text)
72     common/dlmalloc.o (.text)
73     lib_generic/crc32.o (.text)
74     lib_ppc/extable.o (.text)
75     lib_generic/zlib.o (.text)
76     *(.text)
77     *(.fixup)
78     *(.got1)
79    }
80     _etext = .;
81     PROVIDE (etext = .);
82     .rodata    :
83    {
84     *(.rodata)
85     *(.rodata1)
86     *(.rodata.str1.4)
87     *(.eh_frame)
88   }
89   .fini      : { *(.fini)    } =0
90   .ctors     : { *(.ctors)   }
91   .dtors     : { *(.dtors)   }
92
93   /* Read-write section, merged into data segment: */
94   . = (. + 0x00FF) & 0xFFFFFF00;
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   . = .;
121   __u_boot_cmd_start = .;
122   .u_boot_cmd : { *(.u_boot_cmd) }
123   __u_boot_cmd_end = .;
124
125   . = .;
126   __start___ex_table = .;
127   __ex_table : { *(__ex_table) }
128   __stop___ex_table = .;
129
130   . = ALIGN(256);
131   __init_begin = .;
132   .text.init : { *(.text.init) }
133   .data.init : { *(.data.init) }
134   . = ALIGN(256);
135   __init_end = .;
136
137   __bss_start = .;
138   .bss (NOLOAD)       :
139   {
140    *(.sbss) *(.scommon)
141    *(.dynbss)
142    *(.bss)
143    *(COMMON)
144   }
145   _end = . ;
146   PROVIDE (end = .);
147 }