mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 23:19:24 +02:00
+ 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:
parent
b7bfac11cb
commit
7103e3cb5c
@ -1302,6 +1302,8 @@ implementation
|
|||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
objsec.Size:=SegDefRec.SegmentLength;
|
objsec.Size:=SegDefRec.SegmentLength;
|
||||||
|
if SegClassName='DWARF' then
|
||||||
|
objsec.SecOptions:=objsec.SecOptions+[oso_debug];
|
||||||
if (SegClassName='HEAP') or
|
if (SegClassName='HEAP') or
|
||||||
(SegClassName='STACK') or (SegDefRec.Combination=scStack) or
|
(SegClassName='STACK') or (SegDefRec.Combination=scStack) or
|
||||||
(SegClassName='BEGDATA') or
|
(SegClassName='BEGDATA') or
|
||||||
|
Loading…
Reference in New Issue
Block a user