瀏覽代碼

* 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