浏览代码

+ Add gas for x86_64 solaris

git-svn-id: trunk@14239 -
pierre 15 年之前
父节点
当前提交
ff25f1797c
共有 1 个文件被更改,包括 14 次插入0 次删除
  1. 14 0
      compiler/x86/agx86att.pas

+ 14 - 0
compiler/x86/agx86att.pas

@@ -304,6 +304,19 @@ interface
             comment : '# ';
             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 =
        as_x86_64_gas_darwin_info : tasminfo =
           (
           (
@@ -376,6 +389,7 @@ interface
 initialization
 initialization
 {$ifdef x86_64}
 {$ifdef x86_64}
   RegisterAssembler(as_x86_64_as_info,Tx86ATTAssembler);
   RegisterAssembler(as_x86_64_as_info,Tx86ATTAssembler);
+  RegisterAssembler(as_x86_64_gas_info,Tx86ATTAssembler);
   RegisterAssembler(as_x86_64_gas_darwin_info,Tx86AppleGNUAssembler);
   RegisterAssembler(as_x86_64_gas_darwin_info,Tx86AppleGNUAssembler);
 {$else x86_64}
 {$else x86_64}
   RegisterAssembler(as_i386_as_info,Tx86ATTAssembler);
   RegisterAssembler(as_i386_as_info,Tx86ATTAssembler);