* fixed the reading of OMF groups by the internal linker. Previously, it only

worked, when the files had only one group, called 'DGROUP'.

git-svn-id: trunk@39279 -
This commit is contained in:
nickysn 2018-06-22 17:00:23 +00:00
parent 46b82e3208
commit f036e67d8f

View File

@ -2005,6 +2005,11 @@ implementation
InputFileName:=AReader.FileName;
objdata:=CObjData.Create(InputFileName);
result:=false;
{ the TOmfObjData constructor creates a group 'DGROUP', which is to be
used by the code generator, when writing files. When reading object
files, however, we need to start with an empty list of groups, so
let's clear the group list now. }
objdata.GroupsList.Clear;
LNames.Clear;
ExtDefs.Clear;
FRawRecord.ReadFrom(FReader);