mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 09:06:14 +02:00
* show section addresses relative to the segment's MemBasePos in the i8086-msdos
internal linker map file git-svn-id: trunk@31380 -
This commit is contained in:
parent
368ba47d6e
commit
989afc6ecb
@ -494,7 +494,8 @@ implementation
|
|||||||
|
|
||||||
function TOmfObjSection.MemPosStr(AImageBase: qword): string;
|
function TOmfObjSection.MemPosStr(AImageBase: qword): string;
|
||||||
begin
|
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;
|
end;
|
||||||
|
|
||||||
{****************************************************************************
|
{****************************************************************************
|
||||||
|
Loading…
Reference in New Issue
Block a user