|
@@ -1560,10 +1560,11 @@ implementation
|
|
|
begin
|
|
|
{ see same code in ncgutil.insertbssdata }
|
|
|
if (target_dbg.id=dbg_stabx) and
|
|
|
- (cs_debuginfo in current_settings.moduleswitches) then
|
|
|
+ (cs_debuginfo in current_settings.moduleswitches) and
|
|
|
+ not assigned(current_asmdata.GetAsmSymbol(sym.name)) then
|
|
|
begin
|
|
|
- list.concat(tai_symbol.Create(current_asmdata.DefineAsmSymbol(sym.name+'.',AB_LOCAL,AT_DATA),0));
|
|
|
- list.concat(tai_directive.Create(asd_reference,sym.name+'.'));
|
|
|
+ list.concat(tai_symbol.Create(current_asmdata.DefineAsmSymbol(sym.name,AB_LOCAL,AT_DATA),0));
|
|
|
+ list.concat(tai_directive.Create(asd_reference,sym.name));
|
|
|
end;
|
|
|
list.concat(Tai_symbol.Createname_global(sym.mangledname,AT_DATA,0))
|
|
|
end
|