diff options
author | pierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2011-09-25 19:30:35 +0000 |
---|---|---|
committer | pierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2011-09-25 19:30:35 +0000 |
commit | 10dc58f241102d36bf93302b152b824ae5058d26 (patch) | |
tree | e6eac15d9534254a1d114a8aec6ae8e512101e17 /compiler/aasmdata.pas | |
parent | 01a9e11951a6b006e8049a449dd29aa3d97aefab (diff) | |
download | fpc-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
Diffstat (limited to 'compiler/aasmdata.pas')
-rw-r--r-- | compiler/aasmdata.pas | 2 |
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) |