Browse Source

Fix compilation by removing 'labelmaxlen' field which is trunk only

  * Remove af_supports_hlcfi flag, as this is trunk only
Pierre Muller 1 year ago
parent
commit
4b885d5bf9
2 changed files with 2 additions and 5 deletions
  1. 0 1
      compiler/llvm/agllvm.pas
  2. 2 4
      compiler/x86/agx86att.pas

+ 0 - 1
compiler/llvm/agllvm.pas

@@ -1697,7 +1697,6 @@ implementation
           supported_targets : [system_x86_64_linux,system_x86_64_darwin];
           supported_targets : [system_x86_64_linux,system_x86_64_darwin];
           flags : [af_smartlink_sections,af_llvm];
           flags : [af_smartlink_sections,af_llvm];
           labelprefix : 'L';
           labelprefix : 'L';
-          labelmaxlen : -1;
           comment : '; ';
           comment : '; ';
           dollarsign: '$';
           dollarsign: '$';
         );
         );

+ 2 - 4
compiler/x86/agx86att.pas

@@ -465,9 +465,8 @@ interface
             asmbin : 'clang';
             asmbin : 'clang';
             asmcmd : '-x assembler -c -target $TRIPLET -o $OBJ $EXTRAOPT -x assembler $ASM';
             asmcmd : '-x assembler -c -target $TRIPLET -o $OBJ $EXTRAOPT -x assembler $ASM';
             supported_targets : [system_x86_64_linux, system_x86_64_freebsd, system_x86_64_netbsd, system_x86_64_openbsd];
             supported_targets : [system_x86_64_linux, system_x86_64_freebsd, system_x86_64_netbsd, system_x86_64_openbsd];
-            flags : [af_needar,af_smartlink_sections,af_supports_dwarf,af_llvm,af_supports_hlcfi];
+            flags : [af_needar,af_smartlink_sections,af_supports_dwarf,af_llvm];
             labelprefix : '.L';
             labelprefix : '.L';
-            labelmaxlen : -1;
             comment : '// ';
             comment : '// ';
             dollarsign: '$';
             dollarsign: '$';
           );
           );
@@ -553,9 +552,8 @@ interface
             asmbin : 'clang';
             asmbin : 'clang';
             asmcmd : '-x assembler -c -target $TRIPLET -o $OBJ $EXTRAOPT -x assembler $ASM';
             asmcmd : '-x assembler -c -target $TRIPLET -o $OBJ $EXTRAOPT -x assembler $ASM';
             supported_targets : [system_i386_linux, system_i386_freebsd, system_i386_netbsd, system_i386_openbsd];
             supported_targets : [system_i386_linux, system_i386_freebsd, system_i386_netbsd, system_i386_openbsd];
-            flags : [af_needar,af_smartlink_sections,af_supports_dwarf,af_llvm,af_supports_hlcfi];
+            flags : [af_needar,af_smartlink_sections,af_supports_dwarf,af_llvm];
             labelprefix : '.L';
             labelprefix : '.L';
-            labelmaxlen : -1;
             comment : '// ';
             comment : '// ';
             dollarsign: '$';
             dollarsign: '$';
           );
           );