__text_end__ = .;
*(.gcc_except_table)
}
- /* The Cygwin32 library uses a section to avoid copying certain data
+ init BLOCK(__section_alignment__) :
+ {
+ __init_start__ = . ;
+ *(init)
+ __init_end__ = . ;
+ }
+ /* The Cygwin32 library uses a section to avoid copying certain data
on fork. This used to be named ".data". The linker used
to include this between __data_start__ and __data_end__, but that
breaks building the cygwin32 dll. Instead, we name the section
*(.debug$F)
*(.drectve)
}
- /DISCARD/ :
+
+ .idata BLOCK(__section_alignment__) :
{
/* This cannot currently be handled with grouped sections.
See pe.em:sort_sections. */
SORT(*)(.idata$2)
SORT(*)(.idata$3)
/* These zeroes mark the end of the import list. */
-/* LONG (0); LONG (0); LONG (0); LONG (0); LONG (0);*/
+ LONG (0); LONG (0); LONG (0); LONG (0); LONG (0);
SORT(*)(.idata$4)
SORT(*)(.idata$5)
SORT(*)(.idata$6)
*(COMMON)
__bss_end__ = . ;
}
- /DISCARD/ :
- {
+ .reloc BLOCK(__section_alignment__) :
+ {
*(.reloc)
- }
+ /* These zeroes mark the end of the reloc section. */
+ LONG (0); LONG (0); LONG (0); LONG (0); LONG (0);
+ }
.stab BLOCK(__section_alignment__) (NOLOAD) :
{
[ .stab ]