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:
parent
f8fa22d826
commit
e5dbccc182
@ -135,5 +135,4 @@ OPENSSL_ia32_cpuid:
|
|||||||
|
|
||||||
.section .init
|
.section .init
|
||||||
call OPENSSL_cpuid_setup
|
call OPENSSL_cpuid_setup
|
||||||
.align 16
|
|
||||||
___
|
___
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user