From ccb0595971a48cedb97e0da133a8886c4ff3f2b3 Mon Sep 17 00:00:00 2001 From: pierre Date: Sun, 25 Sep 2011 19:30:35 +0000 Subject: [PATCH] * Extend global label for smart linked objects to bsd systems git-svn-id: trunk@19236 - --- compiler/aasmdata.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/aasmdata.pas b/compiler/aasmdata.pas index 54f5548df2..473a12b70d 100644 --- a/compiler/aasmdata.pas +++ b/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)