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/x86_64cpuid.pl | |
parent | f472ec8c2f354314d278e11be567b43630acf090 (diff) |
Non-executable stack in asm.
Diffstat (limited to 'crypto/x86_64cpuid.pl')
-rw-r--r-- | crypto/x86_64cpuid.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/x86_64cpuid.pl b/crypto/x86_64cpuid.pl index c96821a3c8..72010c9cbe 100644 --- a/crypto/x86_64cpuid.pl +++ b/crypto/x86_64cpuid.pl @@ -16,6 +16,13 @@ print<<___; .section .init call OPENSSL_cpuid_setup +___ + +if ($flavour =~ /elf/) { + print ".section .note.GNU-stack,\"\",\@progbits\n" +} + +print<<___; .text .globl OPENSSL_atomic_add |