summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@mongodb.com>2016-05-23 20:42:49 +1000
committerKeith Bostic <keith.bostic@mongodb.com>2016-05-23 06:42:49 -0400
commit0f7ae730d9ab28aaa51a938075502f639947d26f (patch)
tree395e01c9a69ddbb55b83212750aa2671089e3fcb
parenteeff19c80ca678959ca5749e4404a692b6bc0758 (diff)
downloadmongo-0f7ae730d9ab28aaa51a938075502f639947d26f.tar.gz
WT-2629 Don't make stacks executable in assembly source. (#2739)
-rw-r--r--src/checksum/power8/crc32.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/checksum/power8/crc32.S b/src/checksum/power8/crc32.S
index c0b81143f07..9c2819030b9 100644
--- a/src/checksum/power8/crc32.S
+++ b/src/checksum/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