* always clear segments and groups in the beginning of TOmfObjOutput.writeData, because the same objects is used for creating multiple object files

git-svn-id: trunk@30516 -
This commit is contained in:
nickysn 2015-04-09 15:42:29 +00:00
parent f66d8cfb7f
commit 8a831f4c7f

View File

@ -589,6 +589,10 @@ implementation
LNames.Clear;
LNames.Add(''); { insert an empty string, which has index 1 }
FSegments.Clear;
FSegments.Add('',nil);
FGroups.Clear;
FGroups.Add('',nil);
for i:=0 to Data.ObjSectionList.Count-1 do
with TOmfObjSection(Data.ObjSectionList[I]) do