* fixed compilation on non x86 CPUs

git-svn-id: trunk@3715 -
This commit is contained in:
florian 2006-05-28 12:02:10 +00:00
parent bc455c60b1
commit 9b54dcc781

View File

@ -1970,9 +1970,12 @@ implementation
else
list.concat(Tai_symbol.createname(pd.mangledname,AT_FUNCTION,0));
{$ifdef x86}
{ fix this for other CPUs as well }
sym:=current_asmdata.RefAsmSymbol(externalname);
reference_reset_symbol(ref,sym,0);
{ create pic'ed? }
if cs_create_pic in aktmoduleswitches then
begin
@ -1985,6 +1988,9 @@ implementation
else
ref.refaddr:=addr_full;
list.concat(taicpu.op_ref(A_JMP,S_NO,ref));
{$else x86}
cg.a_jmp_name(list,externalname);
{$endif x86}
end;
{****************************************************************************