mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-06 17:10:28 +02:00
* 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:
parent
7951c24a85
commit
e1f6cf79e9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user