소스 검색

* Extend global label for smart linked objects to bsd systems

git-svn-id: trunk@19236 -
pierre 14 년 전
부모
커밋
ccb0595971
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)