Procházet zdrojové kódy

Try to avoid clang error on global labels inside .cfi_start/.cfi_end pairs

Pierre Muller před 9 měsíci
rodič
revize
13a5cdb8fa
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      compiler/rautils.pas

+ 2 - 1
compiler/rautils.pas

@@ -1781,7 +1781,8 @@ Begin
       begin
         if symtablestack.top.symtablelevel<>srsymtable.symtablelevel then
           begin
-            Tlabelsym(sym).nonlocal:=true;
+            if (srsymtable.symtabletype=globalsymtable) or create_smartlink_library then
+              Tlabelsym(sym).nonlocal:=true;
             if emit then
               include(current_procinfo.flags,pi_has_interproclabel);
           end;