mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 17:39:20 +02:00
+ set oper.haslabelref in several other places, where a reference, containing a
label is created in the intel syntax x86 assembler. This fixes tfarcal3.pp and tfarcal4.pp after r37538 git-svn-id: trunk@37541 -
This commit is contained in:
parent
9649154368
commit
e5dad9c98c
@ -1299,6 +1299,7 @@ Unit Rax86int;
|
|||||||
begin
|
begin
|
||||||
CreateLocalLabel(tempstr,hl,false);
|
CreateLocalLabel(tempstr,hl,false);
|
||||||
oper.InitRef;
|
oper.InitRef;
|
||||||
|
oper.haslabelref:=true;
|
||||||
if not negative then
|
if not negative then
|
||||||
begin
|
begin
|
||||||
oper.opr.ref.symbol:=hl;
|
oper.opr.ref.symbol:=hl;
|
||||||
@ -1693,6 +1694,7 @@ Unit Rax86int;
|
|||||||
begin
|
begin
|
||||||
oper.InitRef;
|
oper.InitRef;
|
||||||
oper.opr.ref.symbol:=hl;
|
oper.opr.ref.symbol:=hl;
|
||||||
|
oper.haslabelref:=true;
|
||||||
{$ifdef i8086}
|
{$ifdef i8086}
|
||||||
if oper.opr.ref.segment=NR_NO then
|
if oper.opr.ref.segment=NR_NO then
|
||||||
oper.opr.ref.segment:=NR_CS;
|
oper.opr.ref.segment:=NR_CS;
|
||||||
|
Loading…
Reference in New Issue
Block a user