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/aes | |
parent | f472ec8c2f354314d278e11be567b43630acf090 (diff) |
Non-executable stack in asm.
Diffstat (limited to 'crypto/aes')
-rwxr-xr-x | crypto/aes/asm/aes-x86_64.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/aes/asm/aes-x86_64.pl b/crypto/aes/asm/aes-x86_64.pl index a545e892ae..a757b47146 100755 --- a/crypto/aes/asm/aes-x86_64.pl +++ b/crypto/aes/asm/aes-x86_64.pl @@ -42,7 +42,8 @@ $verticalspin=1; # unlike 32-bit version $verticalspin performs # ~15% better on both AMD and Intel cores $speed_limit=512; # see aes-586.pl for details -$code=".text\n"; +$code=".section .note.GNU-stack,\"\",\@progbits\n"; +$code.=".text\n"; $s0="%eax"; $s1="%ebx"; |