mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 17:29:21 +02:00
* fixed interface wrappers for darwin in case they end up in
a shared library git-svn-id: trunk@3976 -
This commit is contained in:
parent
1e66422b82
commit
e32e5e1f9f
@ -2070,8 +2070,10 @@ const
|
|||||||
end
|
end
|
||||||
{ case 0 }
|
{ case 0 }
|
||||||
else
|
else
|
||||||
list.concat(taicpu.op_sym(A_B,current_asmdata.RefAsmSymbol(procdef.mangledname)));
|
if not(target_info.system = system_powerpc_darwin) then
|
||||||
|
list.concat(taicpu.op_sym(A_B,current_asmdata.RefAsmSymbol(procdef.mangledname)))
|
||||||
|
else
|
||||||
|
list.concat(taicpu.op_sym(A_B,get_darwin_call_stub(procdef.mangledname)));
|
||||||
List.concat(Tai_symbol_end.Createname(labelname));
|
List.concat(Tai_symbol_end.Createname(labelname));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user