* fixed compilation with -Cr after r13147

* changed type of minstacksize, maxstacksize and imagebase from aword
    (= size of integer registers of the target platform) into puint
    (= size of address space of target platform)

git-svn-id: trunk@13155 -
This commit is contained in:
Jonas Maebe 2009-05-17 10:07:54 +00:00
parent f7ec6481cf
commit 4106ce540f
2 changed files with 3 additions and 1 deletions

View File

@ -245,7 +245,7 @@ interface
peflags : longint;
minstacksize,
maxstacksize,
imagebase : aword;
imagebase : puint;
UseDeffileForExports : boolean;
UseDeffileForExportsSetExplicitly : boolean;
GenerateImportSection,

View File

@ -980,9 +980,11 @@ implementation
if target_info.system in system_wince then
imagebase:=$10000
else
{$ifdef cpu64bitaddr}
if target_info.system=system_x86_64_win64 then
imagebase:=$100000000
else
{$endif}
imagebase:=$400000;
end;
Concat('IMAGEBASE $' + hexStr(imagebase, SizeOf(imagebase)*2));