Forráskód Böngészése

* Extend global label for smart linked objects to bsd systems

git-svn-id: trunk@19236 -
pierre 14 éve
szülő
commit
ccb0595971
1 módosított fájl, 1 hozzáadás és 1 törlés
  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)