mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 13:49:29 +02:00
* 8086: Fixed calling of local routines with the near attribute in the 'far code' memory models.
git-svn-id: trunk@46431 -
This commit is contained in:
parent
38c7659d07
commit
631ec77157
@ -70,6 +70,7 @@ interface
|
||||
procedure reference_reset_base(var ref: treference; regsize: tdef; reg: tregister; offset: longint; temppos: treftemppos; alignment: longint; volatility: tvolatilityset); override;
|
||||
|
||||
function a_call_name(list : TAsmList;pd : tprocdef;const s : TSymStr; const paras: array of pcgpara; forceresdef: tdef; weak: boolean): tcgpara;override;
|
||||
function a_call_name_static(list: TAsmList; pd: tprocdef; const s: TSymStr; const paras: array of pcgpara; forceresdef: tdef): tcgpara; override;
|
||||
|
||||
procedure a_load_loc_ref(list : TAsmList;fromsize, tosize: tdef; const loc: tlocation; const ref : treference);override;
|
||||
procedure a_loadaddr_ref_reg(list : TAsmList;fromsize, tosize : tdef;const ref : treference;r : tregister);override;
|
||||
@ -325,6 +326,12 @@ implementation
|
||||
end;
|
||||
|
||||
|
||||
function thlcgcpu.a_call_name_static(list: TAsmList; pd: tprocdef; const s: TSymStr; const paras: array of pcgpara; forceresdef: tdef): tcgpara;
|
||||
begin
|
||||
Result:=a_call_name(list,pd,s,paras,forceresdef,false);
|
||||
end;
|
||||
|
||||
|
||||
procedure thlcgcpu.a_load_loc_ref(list: TAsmList; fromsize, tosize: tdef; const loc: tlocation; const ref: treference);
|
||||
var
|
||||
tmpref: treference;
|
||||
|
Loading…
Reference in New Issue
Block a user