Explorar o código

* Consider cs_create_smart instead of cs_link_smart for
use of global labels for alt_dbgline type.

git-svn-id: trunk@19062 -

pierre %!s(int64=14) %!d(string=hai) anos
pai
achega
0d15a427c2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/aasmdata.pas

+ 1 - 1
compiler/aasmdata.pas

@@ -455,7 +455,7 @@ implementation
     procedure TAsmData.getlabel(out l : TAsmLabel;alt:TAsmLabeltype);
     procedure TAsmData.getlabel(out l : TAsmLabel;alt:TAsmLabeltype);
       begin
       begin
         if (target_info.system in systems_linux) and
         if (target_info.system in systems_linux) and
-           (cs_link_smart in current_settings.globalswitches) and
+           (cs_create_smart in current_settings.moduleswitches) and
            (alt = alt_dbgline) then
            (alt = alt_dbgline) then
           l:=TAsmLabel.createglobal(AsmSymbolDict,name,FNextLabelNr[alt],alt)
           l:=TAsmLabel.createglobal(AsmSymbolDict,name,FNextLabelNr[alt],alt)
         else
         else