Solaris x86 linker erroneously pads .init segment with zeros instead of

nops, which causes SEGV at startup. So I don't align anymore.
This commit is contained in:
Andy Polyakov 2005-04-04 17:07:16 +00:00
parent f8fa22d826
commit e5dbccc182
2 changed files with 0 additions and 3 deletions

View File

@ -135,5 +135,4 @@ OPENSSL_ia32_cpuid:
.section .init .section .init
call OPENSSL_cpuid_setup call OPENSSL_cpuid_setup
.align 16
___ ___

View File

@ -571,7 +571,6 @@ sub main'file_end
movl %edx,0(%edi) movl %edx,0(%edi)
popl %ebx popl %ebx
popl %edi popl %edi
.align $align
1: 1:
___ ___
push (@out,$tmp); push (@out,$tmp);
@ -716,7 +715,6 @@ sub main'initseg
$tmp=<<___; $tmp=<<___;
.section .init .section .init
call $under$f call $under$f
.align $align
___ ___
} }
elsif ($main'coff) elsif ($main'coff)