* when building a reference with an identifier, initialize the operand so that page offsets of functions are handled correctly

git-svn-id: trunk@44933 -
This commit is contained in:
svenbarth 2020-04-21 06:05:32 +00:00
parent 1fb2d9540c
commit 26c45f550a

View File

@ -792,9 +792,12 @@ Unit racpugas;
Message1(sym_e_unknown_id,expr); Message1(sym_e_unknown_id,expr);
end end
else else
begin
oper.InitRef;
MaybeAddGotAddrMode; MaybeAddGotAddrMode;
end; end;
end; end;
end;
if actasmtoken=AS_DOT then if actasmtoken=AS_DOT then
MaybeRecordOffset; MaybeRecordOffset;
{ add a constant expression? } { add a constant expression? }