From fecc36fdd1a5aa3b4d2e5f6b87a25a9bce2289d3 Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Wed, 25 Nov 2009 06:59:01 +0000 Subject: [PATCH] 2009-11-25 Kai Tietz * scripttempl/pe.sc: (.note.GNU-stack): Mark as discardable. (.gnu.lto_*): Likewise. * scripttempl/pep.sc: (.note.GNU-stack): Mark as discardable. (.gnu.lto_*): Likewise. --- ld/ChangeLog | 7 +++++++ ld/scripttempl/pe.sc | 2 ++ ld/scripttempl/pep.sc | 2 ++ 3 files changed, 11 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index 4a93d2c064e..cd88318c5d9 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2009-11-25 Kai Tietz + + * scripttempl/pe.sc: (.note.GNU-stack): Mark as discardable. + (.gnu.lto_*): Likewise. + * scripttempl/pep.sc: (.note.GNU-stack): Mark as discardable. + (.gnu.lto_*): Likewise. + 2009-11-23 Paul Brook * ldexp.c: Copy symbol type for simple assignments. diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc index 0d59aa0b134..f3cbe2565e4 100644 --- a/ld/scripttempl/pe.sc +++ b/ld/scripttempl/pe.sc @@ -139,6 +139,8 @@ SECTIONS *(.debug\$T) *(.debug\$F) *(.drectve) + ${RELOCATING+ *(.note.GNU-stack)} + ${RELOCATING+ *(.gnu.lto_*)} } .idata ${RELOCATING+BLOCK(__section_alignment__)} : diff --git a/ld/scripttempl/pep.sc b/ld/scripttempl/pep.sc index c6eb06c3b0d..7134a4e5ee1 100644 --- a/ld/scripttempl/pep.sc +++ b/ld/scripttempl/pep.sc @@ -140,6 +140,8 @@ SECTIONS *(.debug\$T) *(.debug\$F) *(.drectve) + ${RELOCATING+ *(.note.GNU-stack)} + ${RELOCATING+ *(.gnu.lto_*)} } .idata ${RELOCATING+BLOCK(__section_alignment__)} : -- 2.30.2