aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/pe.sc
diff options
context:
space:
mode:
Diffstat (limited to 'ld/scripttempl/pe.sc')
-rw-r--r--ld/scripttempl/pe.sc6
1 files changed, 5 insertions, 1 deletions
diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc
index d49d2a0..687efb0 100644
--- a/ld/scripttempl/pe.sc
+++ b/ld/scripttempl/pe.sc
@@ -102,7 +102,6 @@ SECTIONS
.rdata ${RELOCATING+BLOCK(__section_alignment__)} :
{
${R_RDATA}
- ${RELOCATING+ *(.eh_frame)}
${RELOCATING+___RUNTIME_PSEUDO_RELOC_LIST__ = .;}
${RELOCATING+__RUNTIME_PSEUDO_RELOC_LIST__ = .;}
*(.rdata_runtime_pseudo_reloc)
@@ -110,6 +109,11 @@ SECTIONS
${RELOCATING+__RUNTIME_PSEUDO_RELOC_LIST_END__ = .;}
}
+ .eh_frame ${RELOCATING+BLOCK(__section_alignment__)} :
+ {
+ *(.eh_frame)
+ }
+
.pdata ${RELOCATING+BLOCK(__section_alignment__)} :
{
*(.pdata)