浏览代码

* maxcrecordalign for darwin/ppc64 is 4 instead of 8 (at least for the types
that we support), fixes webtbs/tw15061a.pp on darwin/ppc64
* webtbs/tw15061a.pp is only for darwin/ppc and darwin/ppc64

git-svn-id: trunk@14582 -

Jonas Maebe 15 年之前
父节点
当前提交
b4058a57ad
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 1 1
      compiler/systems/i_bsd.pas
  2. 3 0
      tests/webtbs/tw15061a.pp

+ 1 - 1
compiler/systems/i_bsd.pas

@@ -611,7 +611,7 @@ unit i_bsd;
                 localalignmax   : 8;
                 localalignmax   : 8;
                 recordalignmin  : 0;
                 recordalignmin  : 0;
                 recordalignmax  : 8;
                 recordalignmax  : 8;
-                maxCrecordalign : 8
+                maxCrecordalign : 4
               );
               );
             first_parm_offset : 48;
             first_parm_offset : 48;
             stacksize   : 262144;
             stacksize   : 262144;

+ 3 - 0
tests/webtbs/tw15061a.pp

@@ -1,3 +1,6 @@
+{ %cpu=powerpc,powerpc64 }
+{ %target=darwin }
+
 {$ifdef FPC}
 {$ifdef FPC}
 {$mode macpas}
 {$mode macpas}
 {$align power}
 {$align power}