summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-04-04 17:07:16 +0000
committerAndy Polyakov <appro@openssl.org>2005-04-04 17:07:16 +0000
commite5dbccc182f3ada92014f2569ed9624886040ce0 (patch)
treeedb89b43bba81bf3e6518eca88f7edd83f4fdb62
parentf8fa22d826bf12863fb2e0cee9118a97468a4c2b (diff)
downloadopenssl-new-e5dbccc182f3ada92014f2569ed9624886040ce0.tar.gz
Solaris x86 linker erroneously pads .init segment with zeros instead of
nops, which causes SEGV at startup. So I don't align anymore.
-rw-r--r--crypto/amd64cpuid.pl1
-rw-r--r--crypto/perlasm/x86unix.pl2
2 files changed, 0 insertions, 3 deletions
diff --git a/crypto/amd64cpuid.pl b/crypto/amd64cpuid.pl
index 097f6b8d5c..777d557783 100644
--- a/crypto/amd64cpuid.pl
+++ b/crypto/amd64cpuid.pl
@@ -135,5 +135,4 @@ OPENSSL_ia32_cpuid:
.section .init
call OPENSSL_cpuid_setup
- .align 16
___
diff --git a/crypto/perlasm/x86unix.pl b/crypto/perlasm/x86unix.pl
index 4381580be7..8414d10cfa 100644
--- a/crypto/perlasm/x86unix.pl
+++ b/crypto/perlasm/x86unix.pl
@@ -571,7 +571,6 @@ sub main'file_end
movl %edx,0(%edi)
popl %ebx
popl %edi
- .align $align
1:
___
push (@out,$tmp);
@@ -716,7 +715,6 @@ sub main'initseg
$tmp=<<___;
.section .init
call $under$f
- .align $align
___
}
elsif ($main'coff)