* correctly call assembler for AIX/ppc64

* corrected target flags for AIX/ppc64
  * corrected some file extensions for AIX/ppc64

git-svn-id: trunk@21047 -
This commit is contained in:
Jonas Maebe 2012-04-25 20:28:05 +00:00
parent d43387dff8
commit 52d1172f6d
2 changed files with 8 additions and 4 deletions

View File

@ -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';

View File

@ -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';