mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 23:39:31 +02:00
+ adapted TOmfObjSection.MemPosStr to output segment:offset for NewExe executables
git-svn-id: trunk@42568 -
This commit is contained in:
parent
2c176be2fd
commit
868030b3fe
@ -764,6 +764,8 @@ implementation
|
||||
if Assigned(MZExeUnifiedLogicalSegment) then
|
||||
Result:=HexStr(MZExeUnifiedLogicalSegment.MemBasePos shr 4,4)+':'+
|
||||
HexStr(MemPos-MZExeUnifiedLogicalSegment.MemBasePos,4)
|
||||
else if Assigned(ExeSection) and (ExeSection is TNewExeSection) then
|
||||
Result:=HexStr(TNewExeSection(ExeSection).MemBasePos,4)+':'+HexStr(mempos,4)
|
||||
else
|
||||
Result:=inherited;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user