From 27505b5d0fc279055b9d27c5f45b199192422f16 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 3 Jul 2009 10:44:57 +0000 Subject: 2009-07-03 Tristan Gingold * scripttempl/pep.sc: Put .eh_frame in its own section. * scripttempl/pe.sc: Ditto. --- ld/scripttempl/pe.sc | 6 +++++- ld/scripttempl/pep.sc | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'ld/scripttempl') 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) diff --git a/ld/scripttempl/pep.sc b/ld/scripttempl/pep.sc index 47d644a..b39469d 100644 --- a/ld/scripttempl/pep.sc +++ b/ld/scripttempl/pep.sc @@ -103,7 +103,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) @@ -111,6 +110,11 @@ SECTIONS ${RELOCATING+__RUNTIME_PSEUDO_RELOC_LIST_END__ = .;} } + .eh_frame ${RELOCATING+BLOCK(__section_alignment__)} : + { + *(.eh_frame) + } + .pdata ${RELOCATING+BLOCK(__section_alignment__)} : { *(.pdata) -- cgit v1.1