mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-16 00:50:40 +01:00
* use a normalized MemBasePos (i.e. offset<16) for stack segments
git-svn-id: trunk@31415 -
This commit is contained in:
parent
f3d5bf3743
commit
851ebd9850
@ -2119,7 +2119,7 @@ implementation
|
||||
for i:=0 to ExeUnifiedLogicalSegments.Count-1 do
|
||||
begin
|
||||
UniSeg:=TMZExeUnifiedLogicalSegment(ExeUnifiedLogicalSegments[i]);
|
||||
if UniSeg.PrimaryGroup<>'' then
|
||||
if (UniSeg.PrimaryGroup<>'') or (UniSeg.IsStack) then
|
||||
lastbase:=(UniSeg.MemPos shr 4) shl 4
|
||||
else
|
||||
begin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user