Using global assmelber labels for debug line is not required for smartlinked sections

git-svn-id: trunk@22346 -
This commit is contained in:
pierre 2012-09-06 15:44:38 +00:00
parent 7840b4657a
commit 971cc159f9

View File

@ -484,7 +484,10 @@ implementation
procedure TAsmData.getlabel(out l : TAsmLabel;alt:TAsmLabeltype);
begin
if (target_info.system in (systems_linux + systems_bsd)) and
{ the next condition was
(cs_create_smart in current_settings.moduleswitches) and
but if we create_smartlink_sections, this is useless }
(create_smartlink_library) and
(alt = alt_dbgline) then
l:=TAsmLabel.createglobal(AsmSymbolDict,name,FNextLabelNr[alt],alt)
else