summaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2012-08-17 16:33:01 +0000
committerKai Tietz <kai.tietz@onevision.com>2012-08-17 16:33:01 +0000
commitefa15f1ff0607ba77086cd16df5a5b349b66d816 (patch)
treeadc2b00ffe974a847abbe733323311ae23f0cf00 /ld/scripttempl
parent6532730cd1a62542814525ab5252a841ca0ce0d3 (diff)
downloadbinutils-redhat-efa15f1ff0607ba77086cd16df5a5b349b66d816.tar.gz
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 5b9bd6147a..bb058230d3 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)}
}