mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-15 16:50:19 +02:00
* more PIC fixes in OpenBSD's x86_64 cprt0.as
git-svn-id: trunk@41670 -
This commit is contained in:
parent
b05b43fe35
commit
cfa9410b56
@ -101,12 +101,10 @@ ___start:
|
|||||||
movq -16(%rbp), %rax
|
movq -16(%rbp), %rax
|
||||||
movb $0, (%rax)
|
movb $0, (%rax)
|
||||||
.L2:
|
.L2:
|
||||||
movl $_mcleanup, %edi
|
leaq _mcleanup(%rip), %rdi
|
||||||
call atexit
|
call atexit
|
||||||
movl $_etext, %eax
|
leaq _etext(%rip), %rsi
|
||||||
movq %rax, %rsi
|
leaq _eprol(%rip), %rdi
|
||||||
movl $_eprol, %eax
|
|
||||||
movq %rax, %rdi
|
|
||||||
call monstartup
|
call monstartup
|
||||||
movl $0, %eax
|
movl $0, %eax
|
||||||
call _init
|
call _init
|
||||||
|
Loading…
Reference in New Issue
Block a user