Solaris x86 linker erroneously pads .init segment with zeros instead of
authorAndy Polyakov <appro@openssl.org>
Mon, 4 Apr 2005 17:07:16 +0000 (17:07 +0000)
committerAndy Polyakov <appro@openssl.org>
Mon, 4 Apr 2005 17:07:16 +0000 (17:07 +0000)
nops, which causes SEGV at startup. So I don't align anymore.

crypto/amd64cpuid.pl
crypto/perlasm/x86unix.pl

index 097f6b8..777d557 100644 (file)
@@ -135,5 +135,4 @@ OPENSSL_ia32_cpuid:
 
 .section       .init
        call    OPENSSL_cpuid_setup
-       .align  16
 ___
index 4381580..8414d10 100644 (file)
@@ -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)