* fixed interface wrappers for darwin in case they end up in

a shared library

git-svn-id: trunk@3976 -
This commit is contained in:
Jonas Maebe 2006-06-27 13:42:00 +00:00
parent 1e66422b82
commit e32e5e1f9f

View File

@ -2070,8 +2070,10 @@ const
end
{ case 0 }
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));
end;