mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-23 16:49:37 +01:00
* __error in cprt0.as
git-svn-id: trunk@29477 -
This commit is contained in:
parent
c9f73354af
commit
bc35a48d65
@ -120,6 +120,22 @@ _start:
|
|||||||
call exit
|
call exit
|
||||||
.LFE5:
|
.LFE5:
|
||||||
.size _start, .-_start
|
.size _start, .-_start
|
||||||
|
.weak __error
|
||||||
|
.type __error, @function
|
||||||
|
__error:
|
||||||
|
.LFB9:
|
||||||
|
|
||||||
|
pushq %rbp
|
||||||
|
movq %rsp, %rbp
|
||||||
|
movq %fs:0, %rdx
|
||||||
|
movq errno@gottpoff(%rip), %rax
|
||||||
|
addq %rdx, %rax
|
||||||
|
popq %rbp
|
||||||
|
ret
|
||||||
|
|
||||||
|
.LFE9:
|
||||||
|
.size __error, .-__error
|
||||||
|
|
||||||
.bss
|
.bss
|
||||||
.type __stkptr,@object
|
.type __stkptr,@object
|
||||||
.size __stkptr,8
|
.size __stkptr,8
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user