From 989afc6ecbd42f30e1b730b170ac89763830af3b Mon Sep 17 00:00:00 2001 From: nickysn Date: Mon, 24 Aug 2015 01:31:16 +0000 Subject: [PATCH] * show section addresses relative to the segment's MemBasePos in the i8086-msdos internal linker map file git-svn-id: trunk@31380 - --- compiler/ogomf.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/ogomf.pas b/compiler/ogomf.pas index 356f232a87..52b9cd6c1b 100644 --- a/compiler/ogomf.pas +++ b/compiler/ogomf.pas @@ -494,7 +494,8 @@ implementation function TOmfObjSection.MemPosStr(AImageBase: qword): string; begin - Result:=HexStr(MemPos shr 4,4)+':'+HexStr(MemPos and $000f,4); + Result:=HexStr(MZExeUnifiedLogicalSegment.MemBasePos shr 4,4)+':'+ + HexStr(MemPos-MZExeUnifiedLogicalSegment.MemBasePos,4); end; {****************************************************************************