mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 05:48:17 +02:00
* reset CurrMemPos after each NewExeSection to ensure each segment starts at 0 offset
git-svn-id: trunk@42569 -
This commit is contained in:
parent
868030b3fe
commit
34b3af7e92
@ -3775,7 +3775,10 @@ cleanup:
|
||||
begin
|
||||
inherited MemPos_Start;
|
||||
for i:=0 to ExeSectionList.Count-1 do
|
||||
MemPos_ExeSection(TExeSection(ExeSectionList[i]));
|
||||
begin
|
||||
MemPos_ExeSection(TExeSection(ExeSectionList[i]));
|
||||
CurrMemPos:=0;
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TNewExeOutput.GenerateLibraryImports(ImportLibraryList: TFPHashObjectList);
|
||||
|
Loading…
Reference in New Issue
Block a user