mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-18 05:00:07 +02:00
Handle asmextraopt in powerpc assmeblers
git-svn-id: trunk@26541 -
This commit is contained in:
parent
441b9feffc
commit
3f33fdd445
@ -1236,7 +1236,7 @@ interface
|
||||
id : as_powerpc_mpw;
|
||||
idtxt : 'MPW';
|
||||
asmbin : 'PPCAsm';
|
||||
asmcmd : '-case on $ASM -o $OBJ';
|
||||
asmcmd : '-case on $ASM $EXTRAOPT -o $OBJ';
|
||||
supported_targets : [system_powerpc_macos];
|
||||
flags : [af_needar,af_smartlink_sections,af_labelprefix_only_inside_procedure];
|
||||
labelprefix : '@';
|
||||
|
@ -539,9 +539,9 @@ unit agppcgas;
|
||||
idtxt : 'AS';
|
||||
asmbin : 'as';
|
||||
{$ifdef cpu64bitaddr}
|
||||
asmcmd : '-a64 -o $OBJ $ASM';
|
||||
asmcmd : '-a64 -o $OBJ $EXTRAOPT $ASM';
|
||||
{$else cpu64bitaddr}
|
||||
asmcmd: '-o $OBJ $ASM';
|
||||
asmcmd: '-o $OBJ $EXTRAOPT $ASM';
|
||||
{$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];
|
||||
flags : [af_needar,af_smartlink_sections];
|
||||
@ -557,7 +557,7 @@ unit agppcgas;
|
||||
|
||||
idtxt : 'AS-Darwin';
|
||||
asmbin : 'as';
|
||||
asmcmd : '-o $OBJ $ASM -arch $ARCH';
|
||||
asmcmd : '-o $OBJ $EXTRAOPT $ASM -arch $ARCH';
|
||||
supported_targets : [system_powerpc_darwin,system_powerpc64_darwin];
|
||||
flags : [af_needar,af_smartlink_sections,af_supports_dwarf,af_stabs_use_function_absolute_addresses];
|
||||
labelprefix : 'L';
|
||||
@ -577,9 +577,9 @@ unit agppcgas;
|
||||
-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';
|
||||
asmcmd : '-a64 -u -o $OBJ $EXTRAOPT $ASM -mpwr5';
|
||||
{$else cpu64bitaddr}
|
||||
asmcmd : '-u -o $OBJ $ASM -mpwr5';
|
||||
asmcmd : '-u -o $OBJ $EXTRAOPT $ASM -mpwr5';
|
||||
{$endif cpu64bitaddr}
|
||||
supported_targets : [system_powerpc_aix,system_powerpc64_aix];
|
||||
flags : [af_needar,af_smartlink_sections,af_stabs_use_function_absolute_addresses];
|
||||
|
Loading…
Reference in New Issue
Block a user