summaryrefslogtreecommitdiffstats
path: root/crypto/x86_64cpuid.pl
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/x86_64cpuid.pl')
-rw-r--r--crypto/x86_64cpuid.pl7
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