summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@mongodb.com>2016-05-23 20:42:49 +1000
committerMichael Cahill <michael.cahill@mongodb.com>2016-06-01 12:41:48 +1000
commit6bfcb1ca5b9932c596dd30ec868300f7abcbedc5 (patch)
tree6f6571f3147ea78f6d66f909f66b7e8697e1073b
parent71c0588a773dc828fb2872e5f574a65e358d6b28 (diff)
downloadmongo-6bfcb1ca5b9932c596dd30ec868300f7abcbedc5.tar.gz
WT-2629 Don't make stacks executable in assembly source. (#2739)
(cherry picked from commit 0f7ae730d9ab28aaa51a938075502f639947d26f)
-rw-r--r--src/support/power8/crc32.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/support/power8/crc32.S b/src/support/power8/crc32.S
index c0b81143f07..9c2819030b9 100644
--- a/src/support/power8/crc32.S
+++ b/src/support/power8/crc32.S
@@ -769,3 +769,6 @@ FUNC_START(__crc32_vpmsum)
FUNC_END(__crc32_vpmsum)
#endif
+
+/* Make sure the stack isn't executable (regardless of platform). */
+.section .note.GNU-stack,"",@progbits