aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
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 /ld/scripttempl
parenteb80cb87518e29417d8d25996617f665e8c7d898 (diff)
downloadgdb-ee8206a9d3d82b01d3108b83e36491fd6693db4d.zip
gdb-ee8206a9d3d82b01d3108b83e36491fd6693db4d.tar.gz
gdb-ee8206a9d3d82b01d3108b83e36491fd6693db4d.tar.bz2
PR ld/14326
* scripttempl/pe.sc: Add _etext symbol.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/pe.sc1
1 files changed, 1 insertions, 0 deletions
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)}
}