3 OUTPUT_FORMAT("elf64-powerpc-freebsd", "elf64-powerpc-freebsd",
4 "elf64-powerpc-freebsd")
5 OUTPUT_ARCH(powerpc:common64)
11 /* Read-only sections, merged into text segment: */
14 PROVIDE (begin = . - SIZEOF_HEADERS);
20 /* .gnu.warning sections are handled specially by elf32.em. */
27 /* Do not emit PT_INTERP section, which confuses some loaders (kexec-lite) */
28 .interpX : { *(.interp) } : NONE
29 /DISCARD/ : { *(.interp) }
32 .dynsym : { *(.dynsym) }
33 .dynstr : { *(.dynstr) }
34 .gnu.version : { *(.gnu.version) }
35 .gnu.version_d : { *(.gnu.version_d) }
36 .gnu.version_r : { *(.gnu.version_r) }
38 { *(.rela.text) *(.rela.gnu.linkonce.t*) }
40 { *(.rela.data) *(.rela.gnu.linkonce.d*) }
42 { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
43 .rela.got : { *(.rela.got) }
44 .rela.got1 : { *(.rela.got1) }
45 .rela.got2 : { *(.rela.got2) }
46 .rela.ctors : { *(.rela.ctors) }
47 .rela.dtors : { *(.rela.dtors) }
48 .rela.init : { *(.rela.init) }
49 .rela.fini : { *(.rela.fini) }
50 .rela.bss : { *(.rela.bss) }
51 .rela.plt : { *(.rela.plt) }
52 .rela.sdata : { *(.rela.sdata) }
53 .rela.sbss : { *(.rela.sbss) }
54 .rela.sdata2 : { *(.rela.sdata2) }
55 .rela.sbss2 : { *(.rela.sbss2) }
57 .init : { *(.init) } =0
58 .fini : { *(.fini) } =0
59 .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
60 .rodata1 : { *(.rodata1) }
61 .sdata2 : { *(.sdata2) }
62 .sbss2 : { *(.sbss2) }
63 /* Adjust the address for the data segment to the next page up. */
70 .data1 : { *(.data1) }
71 .toc1 : ALIGN(8) { *(.toc1) }
72 .opd : ALIGN(8) { KEEP (*(.opd)) }
73 .branch_lt : ALIGN(8) { *(.branch_lt) }
75 .got : ALIGN(8) { __tocbase = .; *(.got .toc) }
77 .dynamic : { *(.dynamic) }
78 /* Put .ctors and .dtors next to the .got2 section, so that the pointers
79 get relocated with -mrelocatable. Also put in the .fixup pointers.
80 The current compiler no longer needs this, but keep it around for 2.7.2 */
81 PROVIDE (_GOT2_START_ = .);
83 PROVIDE (__CTOR_LIST__ = .);
84 .ctors : { *(.ctors) }
85 PROVIDE (__CTOR_END__ = .);
86 PROVIDE (__DTOR_LIST__ = .);
87 .dtors : { *(.dtors) }
88 PROVIDE (__DTOR_END__ = .);
89 PROVIDE (_FIXUP_START_ = .);
90 .fixup : { *(.fixup) }
91 PROVIDE (_FIXUP_END_ = .);
92 PROVIDE (_GOT2_END_ = .);
93 /* We want the small data sections together, so single-instruction offsets
94 can access them all, and initialized data all before uninitialized, so
95 we can shorten the on-disk segment size. */
96 .sdata : { *(.sdata) }
101 PROVIDE (__sbss_start = .);
105 PROVIDE (__sbss_end = .);
110 PROVIDE (__bss_start = .);
117 /* Stabs debugging sections. */
118 .stab 0 : { *(.stab) }
119 .stabstr 0 : { *(.stabstr) }
120 /* DWARF debug sections.
121 Symbols in the DWARF debugging sections are relative to the beginning
122 of the section so we begin them at 0. */
124 .debug 0 : { *(.debug) }
125 .line 0 : { *(.line) }
126 /* GNU DWARF 1 extensions */
127 .debug_srcinfo 0 : { *(.debug_srcinfo) }
128 .debug_sfnames 0 : { *(.debug_sfnames) }
129 /* DWARF 1.1 and DWARF 2 */
130 .debug_aranges 0 : { *(.debug_aranges) }
131 .debug_pubnames 0 : { *(.debug_pubnames) }
133 .debug_info 0 : { *(.debug_info) }
134 .debug_abbrev 0 : { *(.debug_abbrev) }
135 .debug_line 0 : { *(.debug_line) }
136 .debug_frame 0 : { *(.debug_frame) }
137 .debug_str 0 : { *(.debug_str) }
138 .debug_loc 0 : { *(.debug_loc) }
139 .debug_macinfo 0 : { *(.debug_macinfo) }
140 /* SGI/MIPS DWARF 2 extensions */
141 .debug_weaknames 0 : { *(.debug_weaknames) }
142 .debug_funcnames 0 : { *(.debug_funcnames) }
143 .debug_typenames 0 : { *(.debug_typenames) }
144 .debug_varnames 0 : { *(.debug_varnames) }
145 /* These must appear regardless of . */