mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-16 04:50:51 +01:00
* 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:
parent
f7ec6481cf
commit
4106ce540f
@ -245,7 +245,7 @@ interface
|
||||
peflags : longint;
|
||||
minstacksize,
|
||||
maxstacksize,
|
||||
imagebase : aword;
|
||||
imagebase : puint;
|
||||
UseDeffileForExports : boolean;
|
||||
UseDeffileForExportsSetExplicitly : boolean;
|
||||
GenerateImportSection,
|
||||
|
||||
@ -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));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user