1,18 → 1,20 |
|
OUTPUT_FORMAT(pei-i386) |
|
ENTRY("____dll_start") |
|
SECTIONS |
{ |
|
. = SIZEOF_HEADERS; |
. = ALIGN(__section_alignment__); |
|
.text __image_base__ + . : |
{ |
|
*(.init) |
*(.text) |
*(SORT(.text$*)) |
*(.text.*) |
*(.gnu.linkonce.t.*) |
*(.glue_7t) |
*(.glue_7) |
___CTOR_LIST__ = .; __CTOR_LIST__ = . ; |
20,24 → 22,8 |
___DTOR_LIST__ = .; __DTOR_LIST__ = . ; |
LONG (-1); *(.dtors); *(.dtor); *(SORT(.dtors.*)); LONG (0); |
*(.fini) |
/* ??? Why is .gcc_exc here? */ |
*(.gcc_exc) |
PROVIDE (etext = .); |
*(.gcc_except_table) |
} |
|
.rdata ALIGN(__section_alignment__): |
{ |
*(.rdata) |
*(SORT(.rdata$*)) |
___RUNTIME_PSEUDO_RELOC_LIST__ = .; |
__RUNTIME_PSEUDO_RELOC_LIST__ = .; |
*(.rdata_runtime_pseudo_reloc) |
___RUNTIME_PSEUDO_RELOC_LIST_END__ = .; |
__RUNTIME_PSEUDO_RELOC_LIST_END__ = .; |
} |
.CRT ALIGN(__section_alignment__): |
{ |
. = ALIGN(16) ; |
___crt_xc_start__ = . ; |
*(SORT(.CRT$XC*)) /* C initialization */ |
___crt_xc_end__ = . ; |
53,7 → 39,20 |
___crt_xt_start__ = . ; |
*(SORT(.CRT$XT*)) /* Termination */ |
___crt_xt_end__ = . ; |
|
. = ALIGN(16) ; |
|
*(.rdata) |
*(SORT(.rdata$*)) |
__rt_psrelocs_start = .; |
*(.rdata_runtime_pseudo_reloc) |
__rt_psrelocs_end = .; |
} |
__rt_psrelocs_size = __rt_psrelocs_end - __rt_psrelocs_start; |
___RUNTIME_PSEUDO_RELOC_LIST_END__ = .; |
__RUNTIME_PSEUDO_RELOC_LIST_END__ = .; |
___RUNTIME_PSEUDO_RELOC_LIST__ = . - __rt_psrelocs_size; |
__RUNTIME_PSEUDO_RELOC_LIST__ = . - __rt_psrelocs_size; |
|
.data ALIGN(__section_alignment__): |
{ |
68,16 → 67,12 |
*(.data_cygwin_nocopy) |
} |
|
.eh_frame ALIGN(__section_alignment__): |
{ |
*(.eh_frame) |
___iend = . ; |
} |
|
.bss ALIGN(__section_alignment__): |
{ |
__bss_start__ = . ; |
*(.bss) |
*(COMMON) |
__bss_end__ = . ; |
} |
|
.edata ALIGN(__section_alignment__): |
92,6 → 87,7 |
*(.debug$F) |
*(.drectve) |
*(.note.GNU-stack) |
*(.eh_frame) |
*(.comment) |
*(.debug_abbrev) |
*(.debug_info) |