diff --git a/compiler/x86/agx86att.pas b/compiler/x86/agx86att.pas index 04e698aac6..19cb59711c 100644 --- a/compiler/x86/agx86att.pas +++ b/compiler/x86/agx86att.pas @@ -304,6 +304,19 @@ interface comment : '# '; ); + as_x86_64_gas_info : tasminfo = + ( + id : as_ggas; + idtxt : 'GAS'; + asmbin : 'gas'; + asmcmd : '--64 -o $OBJ $ASM'; + supported_targets : [system_x86_64_solaris]; + flags : [af_allowdirect,af_needar,af_smartlink_sections,af_supports_dwarf]; + labelprefix : '.L'; + comment : '# '; + ); + + as_x86_64_gas_darwin_info : tasminfo = ( @@ -376,6 +389,7 @@ interface initialization {$ifdef x86_64} RegisterAssembler(as_x86_64_as_info,Tx86ATTAssembler); + RegisterAssembler(as_x86_64_gas_info,Tx86ATTAssembler); RegisterAssembler(as_x86_64_gas_darwin_info,Tx86AppleGNUAssembler); {$else x86_64} RegisterAssembler(as_i386_as_info,Tx86ATTAssembler);