+ handle omf references to a segment with frame method=target

git-svn-id: trunk@31392 -
This commit is contained in:
nickysn 2015-08-24 17:34:04 +00:00
parent d8f88599de
commit 0eda4c954d

View File

@ -2324,7 +2324,7 @@ implementation
if objreloc.FrameGroup<>'' then
framebase:=TMZExeUnifiedLogicalGroup(ExeUnifiedLogicalGroups.Find(objreloc.FrameGroup)).MemPos
else
internalerror(2015082404);
framebase:=TOmfObjSection(objreloc.objsection).MZExeUnifiedLogicalSegment.MemBasePos;
case objreloc.typ of
RELOC_ABSOLUTE:
fixupamount:=target-framebase;