* MIPS: an empty reference (no symbol, base or index and zero offset) must not be output as empty string.

git-svn-id: trunk@24630 -
This commit is contained in:
sergei 2013-05-29 15:59:40 +00:00
parent 7951c24a85
commit e1f6cf79e9

View File

@ -121,7 +121,10 @@ unit cpugas;
if assigned(ref.symbol) then
result:=result+'+';
result:=result+tostr(ref.offset);
end;
end
{ asmreader appears to treat literal numbers as references }
else if (ref.symbol=nil) and (ref.base=NR_NO) and (ref.index=NR_NO) then
result:='0';
{ either base or index may be present, but not both }
reg:=ref.base;