1 /* $FreeBSD$ */
2
3 OUTPUT_FORMAT("elf64-powerpc", "elf64-powerpc", "elf64-powerpc")
4 OUTPUT_ARCH(powerpc:common64)
5 ENTRY(__start)
6 SEARCH_DIR(/usr/lib);
7 PROVIDE (__stack = 0);
8 SECTIONS
9 {
10 /* Read-only sections, merged into text segment: */
11
12 . = kernbase + SIZEOF_HEADERS;
13
14 .text :
15 {
16 *(.text)
17 *(.stub)
18 /* .gnu.warning sections are handled specially by elf32.em. */
19 *(.gnu.warning)
20 *(.gnu.linkonce.t*)
21 } =0
22 _etext = .;
23 PROVIDE (etext = .);
24
25 .interp : { *(.interp) }
26 .hash : { *(.hash) }
27 .dynsym : { *(.dynsym) }
28 .dynstr : { *(.dynstr) }
29 .gnu.version : { *(.gnu.version) }
30 .gnu.version_d : { *(.gnu.version_d) }
31 .gnu.version_r : { *(.gnu.version_r) }
32 .rela.text :
33 { *(.rela.text) *(.rela.gnu.linkonce.t*) }
34 .rela.data :
35 { *(.rela.data) *(.rela.gnu.linkonce.d*) }
36 .rela.rodata :
37 { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
38 .rela.got : { *(.rela.got) }
39 .rela.got1 : { *(.rela.got1) }
40 .rela.got2 : { *(.rela.got2) }
41 .rela.ctors : { *(.rela.ctors) }
42 .rela.dtors : { *(.rela.dtors) }
43 .rela.init : { *(.rela.init) }
44 .rela.fini : { *(.rela.fini) }
45 .rela.bss : { *(.rela.bss) }
46 .rela.plt : { *(.rela.plt) }
47 .rela.sdata : { *(.rela.sdata) }
48 .rela.sbss : { *(.rela.sbss) }
49 .rela.sdata2 : { *(.rela.sdata2) }
50 .rela.sbss2 : { *(.rela.sbss2) }
51
52 .init : { *(.init) } =0
53 .fini : { *(.fini) } =0
54 .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
55 .rodata1 : { *(.rodata1) }
56 .sdata2 : { *(.sdata2) }
57 .sbss2 : { *(.sbss2) }
58 /* Adjust the address for the data segment to the next page up. */
59 . = ALIGN(4096);
60 .data :
61 {
62 *(.data)
63 *(.gnu.linkonce.d*)
64 CONSTRUCTORS
65 }
66 .data1 : { *(.data1) }
67 .toc1 : ALIGN(8) { *(.toc1) }
68 .opd : ALIGN(8) { KEEP (*(.opd)) }
69 .branch_lt : ALIGN(8) { *(.branch_lt) }
70 .got : ALIGN(8) { *(.got .toc) }
71
72 .dynamic : { *(.dynamic) }
73 /* Put .ctors and .dtors next to the .got2 section, so that the pointers
74 get relocated with -mrelocatable. Also put in the .fixup pointers.
75 The current compiler no longer needs this, but keep it around for 2.7.2 */
76 PROVIDE (_GOT2_START_ = .);
77 .got2 : { *(.got2) }
78 PROVIDE (__CTOR_LIST__ = .);
79 .ctors : { *(.ctors) }
80 PROVIDE (__CTOR_END__ = .);
81 PROVIDE (__DTOR_LIST__ = .);
82 .dtors : { *(.dtors) }
83 PROVIDE (__DTOR_END__ = .);
84 PROVIDE (_FIXUP_START_ = .);
85 .fixup : { *(.fixup) }
86 PROVIDE (_FIXUP_END_ = .);
87 PROVIDE (_GOT2_END_ = .);
88 /* We want the small data sections together, so single-instruction offsets
89 can access them all, and initialized data all before uninitialized, so
90 we can shorten the on-disk segment size. */
91 .sdata : { *(.sdata) }
92 _edata = .;
93 PROVIDE (edata = .);
94 .sbss :
95 {
96 PROVIDE (__sbss_start = .);
97 *(.sbss)
98 *(.scommon)
99 *(.dynsbss)
100 PROVIDE (__sbss_end = .);
101 }
102 .plt : { *(.plt) }
103 .bss :
104 {
105 PROVIDE (__bss_start = .);
106 *(.dynbss)
107 *(.bss)
108 *(COMMON)
109 }
110 _end = . ;
111 PROVIDE (end = .);
112 /* Stabs debugging sections. */
113 .stab 0 : { *(.stab) }
114 .stabstr 0 : { *(.stabstr) }
115 /* DWARF debug sections.
116 Symbols in the DWARF debugging sections are relative to the beginning
117 of the section so we begin them at 0. */
118 /* DWARF 1 */
119 .debug 0 : { *(.debug) }
120 .line 0 : { *(.line) }
121 /* GNU DWARF 1 extensions */
122 .debug_srcinfo 0 : { *(.debug_srcinfo) }
123 .debug_sfnames 0 : { *(.debug_sfnames) }
124 /* DWARF 1.1 and DWARF 2 */
125 .debug_aranges 0 : { *(.debug_aranges) }
126 .debug_pubnames 0 : { *(.debug_pubnames) }
127 /* DWARF 2 */
128 .debug_info 0 : { *(.debug_info) }
129 .debug_abbrev 0 : { *(.debug_abbrev) }
130 .debug_line 0 : { *(.debug_line) }
131 .debug_frame 0 : { *(.debug_frame) }
132 .debug_str 0 : { *(.debug_str) }
133 .debug_loc 0 : { *(.debug_loc) }
134 .debug_macinfo 0 : { *(.debug_macinfo) }
135 /* SGI/MIPS DWARF 2 extensions */
136 .debug_weaknames 0 : { *(.debug_weaknames) }
137 .debug_funcnames 0 : { *(.debug_funcnames) }
138 .debug_typenames 0 : { *(.debug_typenames) }
139 .debug_varnames 0 : { *(.debug_varnames) }
140 /* These must appear regardless of . */
141 }
142
Cache object: 9558ce0bdba7af2dc26a671c9a8fb372
|