+ set the oso_debug section flags when reading an OMF section, which belongs to

the 'DWARF' class

git-svn-id: trunk@39222 -
This commit is contained in:
nickysn 2018-06-14 15:27:08 +00:00
parent b7bfac11cb
commit 7103e3cb5c

View File

@ -1302,6 +1302,8 @@ implementation
exit;
end;
objsec.Size:=SegDefRec.SegmentLength;
if SegClassName='DWARF' then
objsec.SecOptions:=objsec.SecOptions+[oso_debug];
if (SegClassName='HEAP') or
(SegClassName='STACK') or (SegDefRec.Combination=scStack) or
(SegClassName='BEGDATA') or