diff --git a/rtl/linux/x86_64/dllprt0.as b/rtl/linux/x86_64/dllprt0.as index 477da7785b..c86bbfd0c6 100644 --- a/rtl/linux/x86_64/dllprt0.as +++ b/rtl/linux/x86_64/dllprt0.as @@ -41,8 +41,8 @@ FPC_SHARED_LIB_START: jmp _startlib@PLT .text - .globl _start - .type _start,@function + .globl _startlib + .type _startlib,@function _startlib: pushq %rbx movq operatingsystem_parameter_argc@GOTPCREL(%rip),%rbx