aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2012-08-17 16:33:03 +0000
committerKai Tietz <kai.tietz@onevision.com>2012-08-17 16:33:03 +0000
commitee8206a9d3d82b01d3108b83e36491fd6693db4d (patch)
treeb28c3577023400d6501059e606e3cc07a499af19
parenteb80cb87518e29417d8d25996617f665e8c7d898 (diff)
downloadgdb-ee8206a9d3d82b01d3108b83e36491fd6693db4d.zip
gdb-ee8206a9d3d82b01d3108b83e36491fd6693db4d.tar.gz
gdb-ee8206a9d3d82b01d3108b83e36491fd6693db4d.tar.bz2
PR ld/14326
* scripttempl/pe.sc: Add _etext symbol.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/scripttempl/pe.sc1
2 files changed, 6 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 2894b57..ab233cc 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2012-08-17 Kai Tietz <ktietz@redhat.com>
+
+ PR ld/14326
+ * scripttempl/pe.sc: Add _etext symbol.
+
2012-08-14 Nick Clifton <nickc@redhat.com>
* configure.in (ALL_LINGUGAS): Add uk.
diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc
index 5b9bd61..bb05823 100644
--- a/ld/scripttempl/pe.sc
+++ b/ld/scripttempl/pe.sc
@@ -86,6 +86,7 @@ SECTIONS
/* ??? Why is .gcc_exc here? */
${RELOCATING+ *(.gcc_exc)}
${RELOCATING+PROVIDE (etext = .);}
+ ${RELOCATING+PROVIDE (_etext = .);}
${RELOCATING+ *(.gcc_except_table)}
}