浏览代码

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

git-svn-id: trunk@31392 -
nickysn 10 年之前
父节点
当前提交
0eda4c954d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/ogomf.pas

+ 1 - 1
compiler/ogomf.pas

@@ -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;