Add -32/-64 for sparc GNU assembler calls

This commit is contained in:
Pierre Muller 2024-03-25 23:48:09 +01:00
parent c68ddc5360
commit afea558fbe

View File

@ -246,7 +246,7 @@ implementation
id : as_ggas;
idtxt : 'GAS';
asmbin : 'gas';
asmcmd : '$ARCH $PIC -o $OBJ $EXTRAOPT $ASM';
asmcmd : '$ARCH $PIC -32 -o $OBJ $EXTRAOPT $ASM';
supported_targets : [system_sparc_solaris,system_sparc_linux,system_sparc_embedded];
flags : [af_needar,af_smartlink_sections];
labelprefix : '.L';
@ -263,7 +263,7 @@ implementation
{$ifdef FPC_SPARC_V8_ONLY}
asmcmd : '$PIC -o $OBJ $EXTRAOPT $ASM';
{$else}
asmcmd : '$ARCH $PIC -o $OBJ $EXTRAOPT $ASM';
asmcmd : '$ARCH $PIC -64 -o $OBJ $EXTRAOPT $ASM';
{$endif}
supported_targets : [system_sparc64_linux];
flags : [af_needar,af_smartlink_sections];
@ -278,7 +278,7 @@ implementation
id : as_ggas;
idtxt : 'GAS';
asmbin : 'gas';
asmcmd : '$ARCH $PIC -o $OBJ $EXTRAOPT $ASM';
asmcmd : '$ARCH $PIC -64 -o $OBJ $EXTRAOPT $ASM';
supported_targets : [system_sparc64_linux];
flags : [af_needar,af_smartlink_sections];
labelprefix : '.L';