summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/cgo/gcc_386.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/cgo/gcc_386.S')
-rw-r--r--src/pkg/runtime/cgo/gcc_386.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pkg/runtime/cgo/gcc_386.S b/src/pkg/runtime/cgo/gcc_386.S
index 94ba5842f..bf4142793 100644
--- a/src/pkg/runtime/cgo/gcc_386.S
+++ b/src/pkg/runtime/cgo/gcc_386.S
@@ -40,3 +40,6 @@ EXT(__stack_chk_fail_local):
1:
jmp 1b
+#ifdef __ELF__
+.section .note.GNU-stack,"",@progbits
+#endif