Explorar el Código

+ Add gas for x86_64 solaris

git-svn-id: trunk@14239 -
pierre hace 15 años
padre
commit
ff25f1797c
Se han modificado 1 ficheros con 14 adiciones y 0 borrados
  1. 14 0
      compiler/x86/agx86att.pas

+ 14 - 0
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);