From 0d15a427c2d25af4aa5edfca4fc31832f7e7b33b Mon Sep 17 00:00:00 2001 From: pierre Date: Wed, 14 Sep 2011 12:14:52 +0000 Subject: [PATCH] * Consider cs_create_smart instead of cs_link_smart for use of global labels for alt_dbgline type. git-svn-id: trunk@19062 - --- compiler/aasmdata.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/aasmdata.pas b/compiler/aasmdata.pas index 5658b8b820..54f5548df2 100644 --- a/compiler/aasmdata.pas +++ b/compiler/aasmdata.pas @@ -455,7 +455,7 @@ implementation procedure TAsmData.getlabel(out l : TAsmLabel;alt:TAsmLabeltype); begin if (target_info.system in systems_linux) and - (cs_link_smart in current_settings.globalswitches) and + (cs_create_smart in current_settings.moduleswitches) and (alt = alt_dbgline) then l:=TAsmLabel.createglobal(AsmSymbolDict,name,FNextLabelNr[alt],alt) else