make oldconfig will rebuild these...
[linux-2.4.21-pre4.git] / arch / ppc64 / vmlinux.lds
1 OUTPUT_ARCH(powerpc:common64)
2 SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/local/powerpc-any-elf/lib);
3 /* Do we need any of these for elf?
4    __DYNAMIC = 0;    */
5 SECTIONS
6 {
7   /* Read-only sections, merged into text segment: */
8   . = + SIZEOF_HEADERS;
9   .interp : { *(.interp) }
10   .hash          : { *(.hash)           }
11   .dynsym        : { *(.dynsym)         }
12   .dynstr        : { *(.dynstr)         }
13   .rel.text      : { *(.rel.text)               }
14   .rela.text     : { *(.rela.text)      }
15   .rel.data      : { *(.rel.data)               }
16   .rela.data     : { *(.rela.data)      }
17   .rel.rodata    : { *(.rel.rodata)     }
18   .rela.rodata   : { *(.rela.rodata)    }
19   .rel.got       : { *(.rel.got)                }
20   .rela.got      : { *(.rela.got)               }
21   .rel.ctors     : { *(.rel.ctors)      }
22   .rela.ctors    : { *(.rela.ctors)     }
23   .rel.dtors     : { *(.rel.dtors)      }
24   .rela.dtors    : { *(.rela.dtors)     }
25   .rel.bss       : { *(.rel.bss)                }
26   .rela.bss      : { *(.rela.bss)               }
27   .rel.plt       : { *(.rel.plt)                }
28   .rela.plt      : { *(.rela.plt)               }
29 /*  .init          : { *(.init) } =0*/
30   .plt : { *(.plt) }
31   .text      :
32   {
33     *(.text)
34     *(.fixup)
35     *(.got1)
36   }
37   . = ALIGN(4096);
38   _etext = .;
39   PROVIDE (etext = .);
40   .rodata    :
41   {
42     *(.rodata)
43     *(.rodata1)
44   }
45   .fini      : { *(.fini)    } =0
46   .ctors     : { *(.ctors)   }
47   .dtors     : { *(.dtors)   }
48   /* Read-write section, merged into data segment: */
49   . = (. + 0x0FFF) & 0xFFFFFFFFFFFFF000;
50   .data    :
51   {
52     *(.data)
53     *(.data1)
54     *(.sdata)
55     *(.sdata2)
56     *(.got.plt) *(.got)
57     *(.dynamic)
58     CONSTRUCTORS
59   }
60   . = ALIGN(4096);
61   _edata  =  .;
62   PROVIDE (edata = .);
63
64   .fixup   : { *(.fixup) }
65   __start___ex_table = .;
66   __ex_table : { *(__ex_table) }
67   __stop___ex_table = .;
68
69   __start___ksymtab = .;        /* Kernel symbol table */
70   __ksymtab : { *(__ksymtab) }
71   __stop___ksymtab = .;
72   __start___kallsyms = .;       /* All kernel symbols */
73   __kallsyms : { *(__kallsyms) }
74   __stop___kallsyms = .;
75
76
77   . = ALIGN(4096);
78   .data.page_aligned : { *(.data.page_aligned) }
79
80   . = ALIGN(128);
81   .data.cacheline_aligned : { *(.data.cacheline_aligned) }
82
83   . = ALIGN(4096);
84   __init_begin = .;
85   .text.init : { *(.text.init) }
86   .data.init : { 
87     *(.data.init);
88     __vtop_table_begin = .;
89     *(.vtop_fixup);
90     __vtop_table_end = .;
91     __ptov_table_begin = .;
92     *(.ptov_fixup);
93     __ptov_table_end = .;
94   }
95   . = ALIGN(16);
96   __setup_start = .;
97   .setup.init : { *(.setup.init) }
98   __setup_end = .;
99   __initcall_start = .;
100   .initcall.init : { *(.initcall.init) }
101   __initcall_end = .;
102
103
104   . = ALIGN(4096);
105   __init_end = .;
106
107   __chrp_begin = .;
108   .text.chrp : { *(.text.chrp) }
109   .data.chrp : { *(.data.chrp) }
110   . = ALIGN(4096);
111   __chrp_end = .;
112
113   . = ALIGN(4096);
114   __openfirmware_begin = .;
115   .text.openfirmware : { *(.text.openfirmware) }
116   .data.openfirmware : { *(.data.openfirmware) }
117   . = ALIGN(4096);
118   __openfirmware_end = .;
119
120   __toc_start = .;
121   .toc       :
122   {
123    *(.toc)
124   }
125   . = ALIGN(4096);
126   __toc_end = .;
127
128   __bss_start = .;
129   .bss       :
130   {
131    *(.sbss) *(.scommon)
132    *(.dynbss)
133    *(.bss)
134    *(COMMON)
135   }
136
137   . = ALIGN(4096);
138   _end = . ;
139   PROVIDE (end = .);
140 }