diff options
Diffstat (limited to 'compiler/aasmbase.pas')
-rw-r--r-- | compiler/aasmbase.pas | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/compiler/aasmbase.pas b/compiler/aasmbase.pas index 38c0c27458..3ad293ec61 100644 --- a/compiler/aasmbase.pas +++ b/compiler/aasmbase.pas @@ -62,6 +62,8 @@ interface const asmlabeltypeprefix : array[TAsmLabeltype] of char = ('j','a','d','l','f','t','c'); + asmsymbindname : array[TAsmsymbind] of string = ('none', 'external','common', + 'local','global','weak external','private external','lazy','import'); type TAsmSectiontype=(sec_none, @@ -197,7 +199,7 @@ interface function EncodeUleb128(a: qword;out buf) : byte; function EncodeSleb128(a: int64;out buf) : byte; - function ReplaceForbiddenAsmSymbolChars(const s: string): string; + function ReplaceForbiddenAsmSymbolChars(const s: ansistring): ansistring; { dummy default noop callback } procedure default_global_used; @@ -348,7 +350,7 @@ implementation end; - function ReplaceForbiddenAsmSymbolChars(const s: string): string; + function ReplaceForbiddenAsmSymbolChars(const s: ansistring): ansistring; var i : longint; rchar: char; |