Commit 0e3ef596 authored by Ben Laurie's avatar Ben Laurie
Browse files

Non-executable stack in asm.

parent f472ec8c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -4,6 +4,9 @@

 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.
+2 −1
Original line number Diff line number Diff line
@@ -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";
+1 −0
Original line number Diff line number Diff line
@@ -45,6 +45,7 @@ $m0="%rbx";
$m1="%rbp";

$code=<<___;
.section .note.GNU-stack,"",\@progbits
.text

.globl	bn_mul_mont
+1 −0
Original line number Diff line number Diff line
@@ -123,6 +123,7 @@ no warnings qw(uninitialized);
open STDOUT,"| $^X $xlate $flavour $output";

$code .= <<EOF;
.section .note.GNU-stack,"",\@progbits
.text
.align 16

+1 −0
Original line number Diff line number Diff line
@@ -82,6 +82,7 @@ $YY="%r12";
$TY="%r13";

$code=<<___;
.section .note.GNU-stack,"",\@progbits
.text

.globl	RC4
Loading