aboutsummaryrefslogtreecommitdiffstats
path: root/module/icp/asm-x86_64
diff options
context:
space:
mode:
authorJason Zaman <jasonzaman@gmail.com>2016-10-26 01:44:09 +0800
committerBrian Behlendorf <behlendorf1@llnl.gov>2016-10-25 10:44:09 -0700
commit402c7c27b02ce7c62e1d108f4316a8faadb5f806 (patch)
tree82d86de7722026cdc20c451a1119872d73d191a2 /module/icp/asm-x86_64
parent9fa4db44b76716352b994abd7668bc9565466f7f (diff)
icp: mark asm files with noexec stack
Similar to commit a3600a106. Asm files need an explicit note that they do not require an executable stack. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Jason Zaman <jason@perfinion.com> Closes #5332
Diffstat (limited to 'module/icp/asm-x86_64')
-rw-r--r--module/icp/asm-x86_64/sha2/sha512_impl.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/module/icp/asm-x86_64/sha2/sha512_impl.S b/module/icp/asm-x86_64/sha2/sha512_impl.S
index 24a41745b..248d8b2cc 100644
--- a/module/icp/asm-x86_64/sha2/sha512_impl.S
+++ b/module/icp/asm-x86_64/sha2/sha512_impl.S
@@ -2081,3 +2081,7 @@ K512:
.quad 0x4cc5d4becb3e42b6,0x597f299cfc657e2a
.quad 0x5fcb6fab3ad6faec,0x6c44198c4a475817
#endif /* !lint && !__lint */
+
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif