blob: 2194e39a050b10bc0237ffc2259dbc5100b98c5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -ur src/binutils-2.29.1.orig/ld/scripttempl/i386go32.sc src/binutils-2.29.1/ld/scripttempl/i386go32.sc
--- src/binutils-2.29.1.orig/ld/scripttempl/i386go32.sc 2017-12-28 16:44:53.887247994 +0200
+++ src/binutils-2.29.1/ld/scripttempl/i386go32.sc 2017-12-28 16:54:10.917217558 +0200
@@ -84,7 +84,7 @@
${RELOCATING+ . = ALIGN(${SEGMENT_SIZE});}
}
/* Discard LTO sections. */
- /DISCARD/ : { *(gnu.lto_*) }
+ /DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(gnu.lto_*) }
/* Stabs debugging sections. */
.stab 0 : { *(.stab) }
.stabstr 0 : { *(.stabstr) }
|