mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-24 06:39:36 +02:00
* 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:
parent
46b82e3208
commit
f036e67d8f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user