mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-01 05:33:40 +02:00
* 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:
parent
f66d8cfb7f
commit
8a831f4c7f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user