summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2>2011-09-25 19:30:35 +0000
committerpierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2>2011-09-25 19:30:35 +0000
commit10dc58f241102d36bf93302b152b824ae5058d26 (patch)
treee6eac15d9534254a1d114a8aec6ae8e512101e17
parent01a9e11951a6b006e8049a449dd29aa3d97aefab (diff)
downloadfpc-10dc58f241102d36bf93302b152b824ae5058d26.tar.gz
* 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
-rw-r--r--compiler/aasmdata.pas2
1 files changed, 1 insertions, 1 deletions
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)