1 /* Default linker script, for normal executables */
2 OUTPUT_FORMAT(pei-i386)
3 SEARCH_DIR("/usr/i686-pc-cygwin/lib"); SEARCH_DIR("/usr/lib"); SEARCH_DIR("/usr/lib/w32api");
7 .text __image_base__ + __section_alignment__ :
14 ___CTOR_LIST__ = .; __CTOR_LIST__ = . ;
15 LONG (-1); *(SORT(.ctors.*)); *(.ctors); *(.ctor); LONG (0);
16 ___DTOR_LIST__ = .; __DTOR_LIST__ = . ;
17 LONG (-1); *(SORT(.dtors.*)); *(.dtors); *(.dtor); LONG (0);
19 /* ??? Why is .gcc_exc here? */
24 /* The Cygwin32 library uses a section to avoid copying certain data
25 on fork. This used to be named ".data". The linker used
26 to include this between __data_start__ and __data_end__, but that
27 breaks building the cygwin32 dll. Instead, we name the section
28 ".data_cygwin_nocopy" and explictly include it after __data_end__. */
29 .data BLOCK(__section_alignment__) :
36 *(.data_cygwin_nocopy)
38 .bss BLOCK(__section_alignment__) :
45 .rdata BLOCK(__section_alignment__) :
50 ___RUNTIME_PSEUDO_RELOC_LIST__ = .;
51 __RUNTIME_PSEUDO_RELOC_LIST__ = .;
52 *(.rdata_runtime_pseudo_reloc)
53 ___RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
54 __RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
56 .pdata BLOCK(__section_alignment__) :
60 .edata BLOCK(__section_alignment__) :
71 .idata BLOCK(__section_alignment__) :
73 /* This cannot currently be handled with grouped sections.
74 See pe.em:sort_sections. */
77 /* These zeroes mark the end of the import list. */
78 LONG (0); LONG (0); LONG (0); LONG (0); LONG (0);
84 .CRT BLOCK(__section_alignment__) :
88 .endjunk BLOCK(__section_alignment__) :
90 /* end is deprecated, don't use it */
95 .rsrc BLOCK(__section_alignment__) :
100 .reloc BLOCK(__section_alignment__) :
104 .stab BLOCK(__section_alignment__) (NOLOAD) :
108 .stabstr BLOCK(__section_alignment__) (NOLOAD) :