diff options
Diffstat (limited to 'compiler/avr/agavrgas.pas')
-rw-r--r-- | compiler/avr/agavrgas.pas | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/avr/agavrgas.pas b/compiler/avr/agavrgas.pas index 89d807cbbc..42514d05bb 100644 --- a/compiler/avr/agavrgas.pas +++ b/compiler/avr/agavrgas.pas @@ -122,7 +122,7 @@ unit agavrgas; else if assigned(symbol) or (offset<>0) then begin if assigned(symbol) then - s:=ReplaceForbiddenAsmSymbolChars(symbol.name); + s:=ApplyAsmSymbolRestrictions(symbol.name); if s='' then s:=tostr(offset) @@ -165,7 +165,7 @@ unit agavrgas; top_ref: if o.ref^.refaddr=addr_full then begin - hs:=ReplaceForbiddenAsmSymbolChars(o.ref^.symbol.name); + hs:=ApplyAsmSymbolRestrictions(o.ref^.symbol.name); if o.ref^.offset>0 then hs:=hs+'+'+tostr(o.ref^.offset) else if o.ref^.offset<0 then @@ -216,6 +216,7 @@ unit agavrgas; supported_targets : [system_avr_embedded]; flags : [af_needar,af_smartlink_sections]; labelprefix : '.L'; + labelmaxlen : -1; comment : '# '; dollarsign: 's'; ); |