summaryrefslogtreecommitdiff
path: root/compiler/aasmbase.pas
diff options
context:
space:
mode:
authorjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2015-01-21 23:28:34 +0000
committerjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2015-01-21 23:28:34 +0000
commit1903b037de2fb3e75826406b46f055acb70963fa (patch)
tree604cd8b790fe14e5fbe441d4cd647c80d2a36a9a /compiler/aasmbase.pas
parentad1141d52f8353457053b925cd674fe1d5c4eafc (diff)
parent953d907e4d6c3a5c2f8aaee6e5e4f73c55ce5985 (diff)
downloadfpc-blocks.tar.gz
* synchronised with trunk till r29513blocks
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/blocks@29516 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/aasmbase.pas')
-rw-r--r--compiler/aasmbase.pas6
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;