diff options
author | Ben Laurie <ben@openssl.org> | 2010-05-05 15:50:13 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2010-05-05 15:50:13 +0000 |
commit | 0e3ef596e55654a7782ae7ce302f8933b4817f12 (patch) | |
tree | 67ebb99ff32f1fa7302fc07a70405d3d7d3640a5 /crypto/sha/asm | |
parent | f472ec8c2f354314d278e11be567b43630acf090 (diff) |
Non-executable stack in asm.
Diffstat (limited to 'crypto/sha/asm')
-rwxr-xr-x | crypto/sha/asm/sha1-x86_64.pl | 1 | ||||
-rwxr-xr-x | crypto/sha/asm/sha512-x86_64.pl | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/crypto/sha/asm/sha1-x86_64.pl b/crypto/sha/asm/sha1-x86_64.pl index 35ab0e7e78..a00f7c6799 100755 --- a/crypto/sha/asm/sha1-x86_64.pl +++ b/crypto/sha/asm/sha1-x86_64.pl @@ -178,6 +178,7 @@ unshift(@xi,pop(@xi)); } $code.=<<___; +.section .note.GNU-stack,"",\@progbits .text .globl sha1_block_data_order diff --git a/crypto/sha/asm/sha512-x86_64.pl b/crypto/sha/asm/sha512-x86_64.pl index e6643f8cf6..aaf9c57875 100755 --- a/crypto/sha/asm/sha512-x86_64.pl +++ b/crypto/sha/asm/sha512-x86_64.pl @@ -178,6 +178,8 @@ ___ } $code=<<___; +.section .note.GNU-stack,"",\@progbits + .text .globl $func |