Explorar o código

* Extend global label for smart linked objects to bsd systems

git-svn-id: trunk@19236 -
pierre %!s(int64=14) %!d(string=hai) anos
pai
achega
ccb0595971
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/aasmdata.pas

+ 1 - 1
compiler/aasmdata.pas

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