|
@@ -271,13 +271,13 @@ implementation
|
|
{$endif}
|
|
{$endif}
|
|
|
|
|
|
Procedure InsertResourceInfo;
|
|
Procedure InsertResourceInfo;
|
|
-
|
|
|
|
|
|
+
|
|
var
|
|
var
|
|
hp : tused_unit;
|
|
hp : tused_unit;
|
|
found : Boolean;
|
|
found : Boolean;
|
|
I : Integer;
|
|
I : Integer;
|
|
ResourceInfo : taasmoutput;
|
|
ResourceInfo : taasmoutput;
|
|
-
|
|
|
|
|
|
+
|
|
begin
|
|
begin
|
|
if target_res.id=res_elf then
|
|
if target_res.id=res_elf then
|
|
begin
|
|
begin
|
|
@@ -299,7 +299,7 @@ implementation
|
|
{$else EXTERNALRESPTRS}
|
|
{$else EXTERNALRESPTRS}
|
|
new_section(ResourceInfo,sec_fpc,'resptrs',4);
|
|
new_section(ResourceInfo,sec_fpc,'resptrs',4);
|
|
ResourceInfo.concat(Tai_symbol.Createname_global('FPC_RESSYMBOL',AT_DATA,0));
|
|
ResourceInfo.concat(Tai_symbol.Createname_global('FPC_RESSYMBOL',AT_DATA,0));
|
|
- For I:=1 to 32 do
|
|
|
|
|
|
+ For I:=1 to 32 do
|
|
ResourceInfo.Concat(Tai_const.Create_32bit(0));
|
|
ResourceInfo.Concat(Tai_const.Create_32bit(0));
|
|
{$endif EXTERNALRESPTRS}
|
|
{$endif EXTERNALRESPTRS}
|
|
end
|
|
end
|
|
@@ -502,7 +502,7 @@ implementation
|
|
AddUnit('CMem');
|
|
AddUnit('CMem');
|
|
{$ifdef cpufpemu}
|
|
{$ifdef cpufpemu}
|
|
{ Floating point emulation unit? }
|
|
{ Floating point emulation unit? }
|
|
- if (cs_fp_emulation in aktmoduleswitches) then
|
|
|
|
|
|
+ if (cs_fp_emulation in aktmoduleswitches) and not(target_info.system in system_wince) then
|
|
AddUnit('SoftFpu');
|
|
AddUnit('SoftFpu');
|
|
{$endif cpufpemu}
|
|
{$endif cpufpemu}
|
|
end;
|
|
end;
|
|
@@ -1638,7 +1638,7 @@ implementation
|
|
insertinitfinaltable;
|
|
insertinitfinaltable;
|
|
insertmemorysizes;
|
|
insertmemorysizes;
|
|
{ Insert symbol to resource info }
|
|
{ Insert symbol to resource info }
|
|
-
|
|
|
|
|
|
+
|
|
InsertResourceInfo;
|
|
InsertResourceInfo;
|
|
|
|
|
|
{ create dwarf debuginfo }
|
|
{ create dwarf debuginfo }
|