From e5dbccc182f3ada92014f2569ed9624886040ce0 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Mon, 4 Apr 2005 17:07:16 +0000 Subject: [PATCH] Solaris x86 linker erroneously pads .init segment with zeros instead of nops, which causes SEGV at startup. So I don't align anymore. --- crypto/amd64cpuid.pl | 1 - crypto/perlasm/x86unix.pl | 2 -- 2 files changed, 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) -- 2.25.1