Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / ppc64 / boot / zImage.lds
blob8fe5e7071f542c08233b8108d2a5dd547ea634d0
1 OUTPUT_ARCH(powerpc:common)
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
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   .plt : { *(.plt) }
30   .text      :
31   {
32     *(.text)
33     *(.fixup)
34     *(.got1)
35   }
36   . = ALIGN(4096);
37   _etext = .;
38   PROVIDE (etext = .);
39   .rodata    :
40   {
41     *(.rodata)
42     *(.rodata1)
43   }
44   .kstrtab   : { *(.kstrtab) }
45   __vermagic : { *(__vermagic) }
46   .fini      : { *(.fini)    } =0
47   .ctors     : { *(.ctors)   }
48   .dtors     : { *(.dtors)   }
49   /* Read-write section, merged into data segment: */
50   . = ALIGN(4096);
51   .data    :
52   {
53     *(.data)
54     *(.data1)
55     *(.sdata)
56     *(.sdata2)
57     *(.got.plt) *(.got)
58     *(.dynamic)
59     CONSTRUCTORS
60   }
62   . = ALIGN(4096);
63   _vmlinux_start =  .;
64   .kernel:vmlinux.strip : { *(.kernel:vmlinux.strip) }
65   _vmlinux_end =  .;
67   . = ALIGN(4096);
68   _initrd_start =  .;
69   .kernel:initrd : { *(.kernel:initrd) }
70   _initrd_end =  .;
72   . = ALIGN(4096);
73   _edata  =  .;
74   PROVIDE (edata = .);
76   .fixup   : { *(.fixup) }
78   . = ALIGN(4096);
79   __bss_start = .;
80   .bss       :
81   {
82    *(.sbss) *(.scommon)
83    *(.dynbss)
84    *(.bss)
85    *(COMMON)
86   }
87   . = ALIGN(4096);
88   _end = . ;
89   PROVIDE (end = .);