m68k/ag68kgas.pas, getreferencestring:

It seems that GNU as needs the syntax "offset(register.size*scale)" if the base address
  register is ommited instead of "offset(,register.size*scale)". Now the System unit
  assembles and nearly the complete RTL can be built.

git-svn-id: trunk@22734 -
This commit is contained in:
svenbarth 2012-10-18 20:11:15 +00:00
parent cfadcf3769
commit 0217efc398

View File

@ -151,9 +151,9 @@ interface
if (index<>NR_NO) and (base=NR_NO) and (direction=dir_none) then
begin
if (scalefactor = 1) or (scalefactor = 0) then
s:=s+'(,'+indexstr+'.l)'
s:=s+'('+indexstr+'.l)'
else
s:=s+'(,'+indexstr+'.l*'+tostr(scalefactor)+')'
s:=s+'('+indexstr+'.l*'+tostr(scalefactor)+')'
end
else if (index=NR_NO) and (base<>NR_NO) and (direction=dir_inc) then
begin