瀏覽代碼

* correctly call assembler for AIX/ppc64
* corrected target flags for AIX/ppc64
* corrected some file extensions for AIX/ppc64

git-svn-id: trunk@21047 -

Jonas Maebe 13 年之前
父節點
當前提交
52d1172f6d
共有 2 個文件被更改,包括 8 次插入4 次删除
  1. 4 0
      compiler/ppcgen/agppcgas.pas
  2. 4 4
      compiler/systems/i_aix.pas

+ 4 - 0
compiler/ppcgen/agppcgas.pas

@@ -576,7 +576,11 @@ unit agppcgas;
                AIX assembler, ignore by GNU assembler)
            -mpwr5: we actually support Power3 and higher, but the AIX assembler
                has no parameter to select that one (only -mpwr3 and -mpwr5) }
+{$ifdef cpu64bitaddr}
+         asmcmd : '-a64 -u -o $OBJ $ASM -mpwr5';
+{$else cpu64bitaddr}
          asmcmd : '-u -o $OBJ $ASM -mpwr5';
+{$endif cpu64bitaddr}
          supported_targets : [system_powerpc_aix,system_powerpc64_aix];
          flags : [af_needar,af_smartlink_sections,af_stabs_use_function_absolute_addresses];
          labelprefix : 'L';

+ 4 - 4
compiler/systems/i_aix.pas

@@ -96,8 +96,8 @@ unit i_aix;
             system       : system_powerpc64_aix;
             name         : 'AIX for PowerPC64';
             shortname    : 'AIX';
-            flags        : [tf_needs_symbol_size,tf_needs_symbol_type,tf_files_case_sensitive,
-                            tf_requires_proper_alignment,tf_smartlink_sections,tf_has_winlike_resources];
+            flags        : [tf_files_case_sensitive,tf_requires_proper_alignment,
+                            tf_smartlink_sections,tf_has_winlike_resources];
             cpu          : cpu_powerpc64;
             unit_env     : '';
             extradefines : 'UNIX;HASUNIX';
@@ -111,11 +111,11 @@ unit i_aix;
             objext       : '.o';
             resext       : '.res';
             resobjext    : '.or';
-            sharedlibext : '.so';
+            sharedlibext : '.a';
             staticlibext : '.a';
             staticlibprefix : 'libp';
             sharedlibprefix : 'lib';
-            sharedClibext : '.so';
+            sharedClibext : '.a';
             staticClibext : '.a';
             staticClibprefix : 'lib';
             sharedClibprefix : 'lib';