Handle asmextraopt in powerpc assmeblers

git-svn-id: trunk@26541 -
This commit is contained in:
pierre 2014-01-21 00:17:56 +00:00
parent 441b9feffc
commit 3f33fdd445
2 changed files with 6 additions and 6 deletions

View File

@ -1236,7 +1236,7 @@ interface
id : as_powerpc_mpw; id : as_powerpc_mpw;
idtxt : 'MPW'; idtxt : 'MPW';
asmbin : 'PPCAsm'; asmbin : 'PPCAsm';
asmcmd : '-case on $ASM -o $OBJ'; asmcmd : '-case on $ASM $EXTRAOPT -o $OBJ';
supported_targets : [system_powerpc_macos]; supported_targets : [system_powerpc_macos];
flags : [af_needar,af_smartlink_sections,af_labelprefix_only_inside_procedure]; flags : [af_needar,af_smartlink_sections,af_labelprefix_only_inside_procedure];
labelprefix : '@'; labelprefix : '@';

View File

@ -539,9 +539,9 @@ unit agppcgas;
idtxt : 'AS'; idtxt : 'AS';
asmbin : 'as'; asmbin : 'as';
{$ifdef cpu64bitaddr} {$ifdef cpu64bitaddr}
asmcmd : '-a64 -o $OBJ $ASM'; asmcmd : '-a64 -o $OBJ $EXTRAOPT $ASM';
{$else cpu64bitaddr} {$else cpu64bitaddr}
asmcmd: '-o $OBJ $ASM'; asmcmd: '-o $OBJ $EXTRAOPT $ASM';
{$endif cpu64bitaddr} {$endif cpu64bitaddr}
supported_targets : [system_powerpc_linux,system_powerpc_netbsd,system_powerpc_openbsd,system_powerpc_MorphOS,system_powerpc_Amiga,system_powerpc64_linux,system_powerpc_embedded,system_powerpc64_embedded]; supported_targets : [system_powerpc_linux,system_powerpc_netbsd,system_powerpc_openbsd,system_powerpc_MorphOS,system_powerpc_Amiga,system_powerpc64_linux,system_powerpc_embedded,system_powerpc64_embedded];
flags : [af_needar,af_smartlink_sections]; flags : [af_needar,af_smartlink_sections];
@ -557,7 +557,7 @@ unit agppcgas;
idtxt : 'AS-Darwin'; idtxt : 'AS-Darwin';
asmbin : 'as'; asmbin : 'as';
asmcmd : '-o $OBJ $ASM -arch $ARCH'; asmcmd : '-o $OBJ $EXTRAOPT $ASM -arch $ARCH';
supported_targets : [system_powerpc_darwin,system_powerpc64_darwin]; supported_targets : [system_powerpc_darwin,system_powerpc64_darwin];
flags : [af_needar,af_smartlink_sections,af_supports_dwarf,af_stabs_use_function_absolute_addresses]; flags : [af_needar,af_smartlink_sections,af_supports_dwarf,af_stabs_use_function_absolute_addresses];
labelprefix : 'L'; labelprefix : 'L';
@ -577,9 +577,9 @@ unit agppcgas;
-mpwr5: we actually support Power3 and higher, but the AIX assembler -mpwr5: we actually support Power3 and higher, but the AIX assembler
has no parameter to select that one (only -mpwr3 and -mpwr5) } has no parameter to select that one (only -mpwr3 and -mpwr5) }
{$ifdef cpu64bitaddr} {$ifdef cpu64bitaddr}
asmcmd : '-a64 -u -o $OBJ $ASM -mpwr5'; asmcmd : '-a64 -u -o $OBJ $EXTRAOPT $ASM -mpwr5';
{$else cpu64bitaddr} {$else cpu64bitaddr}
asmcmd : '-u -o $OBJ $ASM -mpwr5'; asmcmd : '-u -o $OBJ $EXTRAOPT $ASM -mpwr5';
{$endif cpu64bitaddr} {$endif cpu64bitaddr}
supported_targets : [system_powerpc_aix,system_powerpc64_aix]; supported_targets : [system_powerpc_aix,system_powerpc64_aix];
flags : [af_needar,af_smartlink_sections,af_stabs_use_function_absolute_addresses]; flags : [af_needar,af_smartlink_sections,af_stabs_use_function_absolute_addresses];