* changed the MemPos field in TObjSection and TExeSection from aword to qword:

1) aword follows the ALU size of the CPU, not the address size
  2) it is already qword in TExeOutput and its methods and there's already
     MaxMemPos to check if the limits of the platform/exe format have been
     exceeded

git-svn-id: trunk@31357 -
This commit is contained in:
nickysn 2015-08-21 14:13:27 +00:00
parent 82a825af26
commit a762532ae1

View File

@ -238,8 +238,8 @@ interface
SecAlign : shortint; { alignment of the section }
{ section Data }
Size,
DataPos,
MemPos : aword;
DataPos : aword;
MemPos : qword;
Group : TObjSectionGroup;
DataAlignBytes : shortint;
{ Relocations (=references) to other sections }
@ -443,8 +443,8 @@ interface
FObjSectionList : TFPObjectList;
public
Size,
DataPos,
MemPos : aword;
DataPos : aword;
MemPos : qword;
SecAlign : shortint;
Disabled : boolean;
SecOptions : TObjSectionOptions;