From 10dc58f241102d36bf93302b152b824ae5058d26 Mon Sep 17 00:00:00 2001 From: pierre Date: Sun, 25 Sep 2011 19:30:35 +0000 Subject: * Extend global label for smart linked objects to bsd systems git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@19236 3ad0048d-3df7-0310-abae-a5850022a9f2 --- compiler/aasmdata.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/aasmdata.pas') 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) -- cgit v1.2.1