aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/pe.sc
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2007-07-12 12:57:02 +0000
committerNathan Sidwell <nathan@codesourcery.com>2007-07-12 12:57:02 +0000
commit5f294ed6805ce3931f9c04cfedff38e20010c819 (patch)
treeb93a73982dcc2602744c02cd4915728a1a26ea38 /ld/scripttempl/pe.sc
parent0ebe98fbe26d626123e0747b531a6d7e1913dbf4 (diff)
downloadgdb-5f294ed6805ce3931f9c04cfedff38e20010c819.zip
gdb-5f294ed6805ce3931f9c04cfedff38e20010c819.tar.gz
gdb-5f294ed6805ce3931f9c04cfedff38e20010c819.tar.bz2
* scripttempl/pe.sc: Don't include .gcc_except_table and
.eh_frame on partial links. * scripttempl/pep.sc: Likewise.
Diffstat (limited to 'ld/scripttempl/pe.sc')
-rw-r--r--ld/scripttempl/pe.sc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc
index c9931b5..c9eb16f 100644
--- a/ld/scripttempl/pe.sc
+++ b/ld/scripttempl/pe.sc
@@ -71,7 +71,7 @@ SECTIONS
/* ??? Why is .gcc_exc here? */
${RELOCATING+ *(.gcc_exc)}
${RELOCATING+PROVIDE (etext = .);}
- *(.gcc_except_table)
+ ${RELOCATING+ *(.gcc_except_table)}
}
/* The Cygwin32 library uses a section to avoid copying certain data
@@ -95,7 +95,7 @@ SECTIONS
{
*(.rdata)
${R_RDATA}
- *(.eh_frame)
+ ${RELOCATING+ *(.eh_frame)}
${RELOCATING+___RUNTIME_PSEUDO_RELOC_LIST__ = .;}
${RELOCATING+__RUNTIME_PSEUDO_RELOC_LIST__ = .;}
*(.rdata_runtime_pseudo_reloc)