blob: 5bfc3ea019ca8c3f135385865b563d28a92db647 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -ur src/binutils-2.34.orig/ld/scripttempl/i386go32.sc src/binutils-2.34/ld/scripttempl/i386go32.sc
--- src/binutils-2.34.orig/ld/scripttempl/i386go32.sc 2020-05-16 07:42:54.856946631 +0300
+++ src/binutils-2.34/ld/scripttempl/i386go32.sc 2020-05-16 07:54:52.886973462 +0300
@@ -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) }
|