Преглед на файлове

* 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