Преглед изворни кода

* the .pdata section currently only needs to be always included for arm-wince (at least until we have full SEH support there as well)

git-svn-id: trunk@44943 -
svenbarth пре 5 година
родитељ
комит
ada6d8ce5e
1 измењених фајлова са 1 додато и 3 уклоњено
  1. 1 3
      compiler/ogcoff.pas

+ 1 - 3
compiler/ogcoff.pas

@@ -2343,9 +2343,7 @@ const pemagic : array[0..3] of byte = (
                  begin
                    if (Pos('.edata',secname)=1) or
                       (Pos('.rsrc',secname)=1) or
-{$ifndef x86_64}
-                      (Pos('.pdata',secname)=1) or
-{$endif}
+                      ((target_info.system=system_arm_wince) and (Pos('.pdata',secname)=1)) or
                       (Pos('.fpc',secname)=1) then
                      include(secoptions,oso_keep);
                    if (Pos('.idata',secname)=1) then