mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 23:48:15 +02:00
* fixed compilation on non x86 CPUs
git-svn-id: trunk@3715 -
This commit is contained in:
parent
bc455c60b1
commit
9b54dcc781
@ -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;
|
||||
|
||||
{****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user