diff options
author | Jason Zaman <[email protected]> | 2016-10-26 01:44:09 +0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-10-25 10:44:09 -0700 |
commit | 402c7c27b02ce7c62e1d108f4316a8faadb5f806 (patch) | |
tree | 82d86de7722026cdc20c451a1119872d73d191a2 /module/icp | |
parent | 9fa4db44b76716352b994abd7668bc9565466f7f (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 <[email protected]>
Signed-off-by: Jason Zaman <[email protected]>
Closes #5332
Diffstat (limited to 'module/icp')
-rw-r--r-- | module/icp/asm-x86_64/sha2/sha512_impl.S | 4 |
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 |