Changes between 1.0.0 and 1.1.0 [xx XXX xxxx]
+ *) Make generated asm have non-executable stack.
+ [Contributed by Google <agl@google.com>]
+
*) New function OPENSSL_gmtime_diff to find the difference in days
and seconds between two tm structures. This will be used to provide
additional functionality for ASN1_TIME.
# ~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";
$m1="%rbp";
$code=<<___;
+.section .note.GNU-stack,"",\@progbits
.text
.globl bn_mul_mont
open STDOUT,"| $^X $xlate $flavour $output";
$code .= <<EOF;
+.section .note.GNU-stack,"",\@progbits
.text
.align 16
$TY="%r13";
$code=<<___;
+.section .note.GNU-stack,"",\@progbits
.text
.globl RC4
}
$code.=<<___;
+.section .note.GNU-stack,"",\@progbits
.text
.globl sha1_block_data_order
}
$code=<<___;
+.section .note.GNU-stack,"",\@progbits
+
.text
.globl $func
.section .init
call OPENSSL_cpuid_setup
+___
+
+if ($flavour =~ /elf/) {
+ print ".section .note.GNU-stack,\"\",\@progbits\n"
+}
+
+print<<___;
.text
.globl OPENSSL_atomic_add