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