浏览代码

* fixed compilation for PowerPC

olle 20 年之前
父节点
当前提交
3f7fdcb45e
共有 2 个文件被更改,包括 11 次插入5 次删除
  1. 6 3
      compiler/powerpc/agppcgas.pas
  2. 5 2
      compiler/powerpc/cpubase.pas

+ 6 - 3
compiler/powerpc/agppcgas.pas

@@ -93,8 +93,8 @@ unit agppcgas;
           );
 
 
-       refaddr2str: array[trefaddr] of string[3] = ('','','@ha','@l');
-       refaddr2str_darwin: array[trefaddr] of string[4] = ('','','ha16','lo16');
+       refaddr2str: array[trefaddr] of string[3] = ('','','@ha','@l','');
+       refaddr2str_darwin: array[trefaddr] of string[4] = ('','','ha16','lo16','');
 
 
     function getreferencestring(var ref : treference) : string;
@@ -365,7 +365,10 @@ begin
 end.
 {
   $Log$
-  Revision 1.45  2004-10-31 21:45:03  peter
+  Revision 1.46  2004-12-28 02:25:44  olle
+    * fixed compilation for PowerPC
+
+  Revision 1.45  2004/10/31 21:45:03  peter
     * generic tlocation
     * move tlocation to cgutils
 

+ 5 - 2
compiler/powerpc/cpubase.pas

@@ -243,7 +243,7 @@ uses
 *****************************************************************************}
 
     const
-      symaddr2str: array[trefaddr] of string[3] = ('','','@ha','@l');
+      symaddr2str: array[trefaddr] of string[3] = ('','','@ha','@l','');
 
     const
       { MacOS only. Whether the direct data area (TOC) directly contain
@@ -558,7 +558,10 @@ implementation
 end.
 {
   $Log$
-  Revision 1.92  2004-10-31 21:45:03  peter
+  Revision 1.93  2004-12-28 02:25:43  olle
+    * fixed compilation for PowerPC
+
+  Revision 1.92  2004/10/31 21:45:03  peter
     * generic tlocation
     * move tlocation to cgutils