3 OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc", "elf32-powerpc")
4 OUTPUT_ARCH(powerpc:common)
10 /* Read-only sections, merged into text segment: */
15 /* .gnu.warning sections are handled specially by elf32.em. */
20 .interp : { *(.interp) }
22 .dynsym : { *(.dynsym) }
23 .dynstr : { *(.dynstr) }
24 .gnu.version : { *(.gnu.version) }
25 .gnu.version_d : { *(.gnu.version_d) }
26 .gnu.version_r : { *(.gnu.version_r) }
28 { *(.rela.text) *(.rela.gnu.linkonce.t*) }
30 { *(.rela.data) *(.rela.gnu.linkonce.d*) }
32 { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
33 .rela.got : { *(.rela.got) }
34 .rela.got1 : { *(.rela.got1) }
35 .rela.got2 : { *(.rela.got2) }
36 .rela.ctors : { *(.rela.ctors) }
37 .rela.dtors : { *(.rela.dtors) }
38 .rela.init : { *(.rela.init) }
39 .rela.fini : { *(.rela.fini) }
40 .rela.bss : { *(.rela.bss) }
41 .rela.plt : { *(.rela.plt) }
42 .rela.sbss : { *(.rela.sbss) }
43 .rela.sbss2 : { *(.rela.sbss2) }
47 /* .gnu.warning sections are handled specially by elf32.em. */
53 .init : { *(.init) } =0
54 .fini : { *(.fini) } =0
55 .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
56 .rodata1 : { *(.rodata1) }
57 .sbss2 : { *(.sbss2) }
58 /* Adjust the address for the data segment to the next page up. */
59 . = ((. + 0x1000) & ~(0x1000 - 1));
66 .data1 : { *(.data1) }
68 .dynamic : { *(.dynamic) }
69 /* Put .ctors and .dtors next to the .got2 section, so that the pointers
70 get relocated with -mrelocatable. Also put in the .fixup pointers.
71 The current compiler no longer needs this, but keep it around for 2.7.2 */
72 PROVIDE (_GOT2_START_ = .);
74 PROVIDE (__CTOR_LIST__ = .);
75 .ctors : { *(.ctors) }
76 PROVIDE (__CTOR_END__ = .);
77 PROVIDE (__DTOR_LIST__ = .);
78 .dtors : { *(.dtors) }
79 PROVIDE (__DTOR_END__ = .);
80 PROVIDE (_FIXUP_START_ = .);
81 .fixup : { *(.fixup) }
82 PROVIDE (_FIXUP_END_ = .);
83 PROVIDE (_GOT2_END_ = .);
84 PROVIDE (_GOT_START_ = .);
86 .got.plt : { *(.got.plt) }
87 PROVIDE (_GOT_END_ = .);
92 PROVIDE (__sbss_start = .);
96 PROVIDE (__sbss_end = .);
101 PROVIDE (__bss_start = .);