5 SEARCH_DIR(/usr/local/lib);
6 SEARCH_DIR(/usr/i686-pc-linux-gnu/lib);
8 INTERP(/lib/ld-linux.so.2);
17 . = 0x08048000 + SIZEOF_HEADERS;
32 .init { KEEP (*(.init)) }
42 .fini { KEEP (*(.fini)) }
43 PROVIDE (__etext = .);
55 PROVIDE (__preinit_array_start = .);
60 PROVIDE (__preinit_array_end = .);
61 PROVIDE (__init_array_start = .);
66 PROVIDE (__init_array_end = .);
67 PROVIDE (__fini_array_start = .);
72 PROVIDE (__fini_array_end = .);
87 *(.gnu.linkonce.sb2.*)
89 /* Adjust the address for the data segment. We want to adjust up to
90 the same address within the page on the next page up. */
91 . = ALIGN(PAGESIZE) + (. & (PAGESIZE - 1));
112 /* gcc uses crtbegin.o to find the start of
113 the constructors, so we make sure it is
114 first. Because this is a wildcard, it
115 doesn't matter if the user does not
116 actually link against crtbegin.o; the
117 linker won't look for a file to match a
118 wildcard. The wildcard also means that it
119 doesn't matter which directory crtbegin.o
121 KEEP (*crtbegin.o(.ctors))
122 /* We don't want to include the .ctor section from
123 the crtend.o file until after the sorted ctors.
124 The .ctor section from the crtend file contains the
125 end of ctors marker and it must be last */
126 KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
127 KEEP (*(SORT(.ctors.*)))
132 KEEP (*crtbegin.o(.dtors))
133 KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
134 KEEP (*(SORT(.dtors.*)))
147 /* We want the small data sections together, so single-instruction offsets
148 can access them all, and initialized data all before uninitialized, so
149 we can shorten the on-disk segment size. */
162 PROVIDE (__sbss_start = .);
163 PROVIDE (___sbss_start = .);
167 *(.gnu.linkonce.sb.*)
169 PROVIDE (__sbss_end = .);
170 PROVIDE (___sbss_end = .);
179 /* Align here to ensure that the .bss section occupies space up to
180 _end. Align after .bss to ensure correct alignment even if the
181 .bss section disappears because there are no input sections. */
191 /* Stabs debugging sections. */
199 /* DWARF debug sections.
200 Symbols in the DWARF debugging sections are relative to the beginning
201 of the section so we begin them at 0. */
205 /* GNU DWARF 1 extensions */
208 /* DWARF 1.1 and DWARF 2 */
215 *(.gnu.linkonce.wi.*)
223 /* SGI/MIPS DWARF 2 extensions */
228 /* These must appear regardless of . */