From ee8206a9d3d82b01d3108b83e36491fd6693db4d Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Fri, 17 Aug 2012 16:33:03 +0000 Subject: [PATCH] PR ld/14326 * scripttempl/pe.sc: Add _etext symbol. --- ld/ChangeLog | 5 +++++ ld/scripttempl/pe.sc | 1 + 2 files changed, 6 insertions(+) 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 + + PR ld/14326 + * scripttempl/pe.sc: Add _etext symbol. + 2012-08-14 Nick Clifton * 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)} } -- 2.7.4