Revert previous Linux-specific/centric commit#19629. If it really has to
be done, it's definitely not the way to do it. So far answer to the question was to ./config -Wa,--noexecstack (adopted by RedHat).
This commit is contained in:
parent
0e3ef596e5
commit
3efe51a407
3
CHANGES
3
CHANGES
@ -4,9 +4,6 @@
|
|||||||
|
|
||||||
Changes between 1.0.0 and 1.1.0 [xx XXX xxxx]
|
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
|
*) New function OPENSSL_gmtime_diff to find the difference in days
|
||||||
and seconds between two tm structures. This will be used to provide
|
and seconds between two tm structures. This will be used to provide
|
||||||
additional functionality for ASN1_TIME.
|
additional functionality for ASN1_TIME.
|
||||||
|
@ -42,8 +42,7 @@ $verticalspin=1; # unlike 32-bit version $verticalspin performs
|
|||||||
# ~15% better on both AMD and Intel cores
|
# ~15% better on both AMD and Intel cores
|
||||||
$speed_limit=512; # see aes-586.pl for details
|
$speed_limit=512; # see aes-586.pl for details
|
||||||
|
|
||||||
$code=".section .note.GNU-stack,\"\",\@progbits\n";
|
$code=".text\n";
|
||||||
$code.=".text\n";
|
|
||||||
|
|
||||||
$s0="%eax";
|
$s0="%eax";
|
||||||
$s1="%ebx";
|
$s1="%ebx";
|
||||||
|
@ -45,7 +45,6 @@ $m0="%rbx";
|
|||||||
$m1="%rbp";
|
$m1="%rbp";
|
||||||
|
|
||||||
$code=<<___;
|
$code=<<___;
|
||||||
.section .note.GNU-stack,"",\@progbits
|
|
||||||
.text
|
.text
|
||||||
|
|
||||||
.globl bn_mul_mont
|
.globl bn_mul_mont
|
||||||
|
@ -123,7 +123,6 @@ no warnings qw(uninitialized);
|
|||||||
open STDOUT,"| $^X $xlate $flavour $output";
|
open STDOUT,"| $^X $xlate $flavour $output";
|
||||||
|
|
||||||
$code .= <<EOF;
|
$code .= <<EOF;
|
||||||
.section .note.GNU-stack,"",\@progbits
|
|
||||||
.text
|
.text
|
||||||
.align 16
|
.align 16
|
||||||
|
|
||||||
|
@ -82,7 +82,6 @@ $YY="%r12";
|
|||||||
$TY="%r13";
|
$TY="%r13";
|
||||||
|
|
||||||
$code=<<___;
|
$code=<<___;
|
||||||
.section .note.GNU-stack,"",\@progbits
|
|
||||||
.text
|
.text
|
||||||
|
|
||||||
.globl RC4
|
.globl RC4
|
||||||
|
@ -178,7 +178,6 @@ unshift(@xi,pop(@xi));
|
|||||||
}
|
}
|
||||||
|
|
||||||
$code.=<<___;
|
$code.=<<___;
|
||||||
.section .note.GNU-stack,"",\@progbits
|
|
||||||
.text
|
.text
|
||||||
|
|
||||||
.globl sha1_block_data_order
|
.globl sha1_block_data_order
|
||||||
|
@ -178,8 +178,6 @@ ___
|
|||||||
}
|
}
|
||||||
|
|
||||||
$code=<<___;
|
$code=<<___;
|
||||||
.section .note.GNU-stack,"",\@progbits
|
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
|
||||||
.globl $func
|
.globl $func
|
||||||
|
@ -16,13 +16,6 @@ print<<___;
|
|||||||
.section .init
|
.section .init
|
||||||
call OPENSSL_cpuid_setup
|
call OPENSSL_cpuid_setup
|
||||||
|
|
||||||
___
|
|
||||||
|
|
||||||
if ($flavour =~ /elf/) {
|
|
||||||
print ".section .note.GNU-stack,\"\",\@progbits\n"
|
|
||||||
}
|
|
||||||
|
|
||||||
print<<___;
|
|
||||||
.text
|
.text
|
||||||
|
|
||||||
.globl OPENSSL_atomic_add
|
.globl OPENSSL_atomic_add
|
||||||
|
Loading…
x
Reference in New Issue
Block a user