mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 15:19:25 +02:00
* Consider cs_create_smart instead of cs_link_smart for
use of global labels for alt_dbgline type. git-svn-id: trunk@19062 -
This commit is contained in:
parent
5d39f2208a
commit
0d15a427c2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user