Linux-2.6.12-rc2
[cascardo/linux.git] / arch / ppc / boot / ld.script
1 OUTPUT_ARCH(powerpc)
2 SECTIONS
3 {
4   /* Read-only sections, merged into text segment: */
5   . = + SIZEOF_HEADERS;
6   .interp : { *(.interp) }
7   .hash          : { *(.hash)           }
8   .dynsym        : { *(.dynsym)         }
9   .dynstr        : { *(.dynstr)         }
10   .rel.text      : { *(.rel.text)               }
11   .rela.text     : { *(.rela.text)      }
12   .rel.data      : { *(.rel.data)               }
13   .rela.data     : { *(.rela.data)      }
14   .rel.rodata    : { *(.rel.rodata)     }
15   .rela.rodata   : { *(.rela.rodata)    }
16   .rel.got       : { *(.rel.got)                }
17   .rela.got      : { *(.rela.got)               }
18   .rel.ctors     : { *(.rel.ctors)      }
19   .rela.ctors    : { *(.rela.ctors)     }
20   .rel.dtors     : { *(.rel.dtors)      }
21   .rela.dtors    : { *(.rela.dtors)     }
22   .rel.bss       : { *(.rel.bss)                }
23   .rela.bss      : { *(.rela.bss)               }
24   .rel.plt       : { *(.rel.plt)                }
25   .rela.plt      : { *(.rela.plt)               }
26   .plt : { *(.plt) }
27   .text      :
28   {
29     *(.text)
30     *(.fixup)
31     __relocate_start = .;
32     *(.relocate_code)
33     __relocate_end = .;
34   }
35   _etext = .;
36   PROVIDE (etext = .);
37
38   /* Read-write section, merged into data segment: */
39   . = ALIGN(4096);
40   .data    :
41   {
42     *(.data)
43     *(.data1)
44     *(.data.boot)
45     *(.sdata)
46     *(.sdata2)
47     *(.got.plt) *(.got)
48     *(.dynamic)
49     *(.rodata)
50     *(.rodata.*)
51     *(.rodata1)
52     *(.got1)
53     __image_begin = .;
54     *(.image)
55     __image_end = .;
56     . = ALIGN(4096);
57     __ramdisk_begin = .;
58     *(.ramdisk)
59     __ramdisk_end = .;
60     . = ALIGN(4096);
61     __sysmap_begin = .;
62     *(.sysmap)
63     __sysmap_end = .;
64     CONSTRUCTORS
65   }
66   _edata  =  .;
67   PROVIDE (edata = .);
68
69   . = ALIGN(4096);
70   __bss_start = .;
71   .bss       :
72   {
73    *(.sbss) *(.scommon)
74    *(.dynbss)
75    *(.bss)
76    *(COMMON)
77   }
78   _end = . ;
79   PROVIDE (end = .);
80
81   /DISCARD/ : {
82     *(__ksymtab)
83     *(__ksymtab_strings)
84     *(__bug_table)
85     *(__kcrctab)
86   }
87
88 }