diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2009-11-25 06:59:01 +0000 |
---|---|---|
committer | Kai Tietz <kai.tietz@onevision.com> | 2009-11-25 06:59:01 +0000 |
commit | fecc36fdd1a5aa3b4d2e5f6b87a25a9bce2289d3 (patch) | |
tree | 69a1060d437d3f5db7be8f9294e8c8e4d726fe85 /ld/scripttempl | |
parent | cf89a94aaed0522d461f7efdd6aa92ad02e70d88 (diff) | |
download | gdb-fecc36fdd1a5aa3b4d2e5f6b87a25a9bce2289d3.zip gdb-fecc36fdd1a5aa3b4d2e5f6b87a25a9bce2289d3.tar.gz gdb-fecc36fdd1a5aa3b4d2e5f6b87a25a9bce2289d3.tar.bz2 |
2009-11-25 Kai Tietz <kai.tietz@onevision.com>
* scripttempl/pe.sc: (.note.GNU-stack): Mark as discardable.
(.gnu.lto_*): Likewise.
* scripttempl/pep.sc: (.note.GNU-stack): Mark as discardable.
(.gnu.lto_*): Likewise.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r-- | ld/scripttempl/pe.sc | 2 | ||||
-rw-r--r-- | ld/scripttempl/pep.sc | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc index 0d59aa0..f3cbe25 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 c6eb06c..7134a4e 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__)} : |