1 DEF(TOK___LINE__
, "__LINE__")
2 DEF(TOK___FILE__
, "__FILE__")
3 DEF(TOK___DATE__
, "__DATE__")
4 DEF(TOK___TIME__
, "__TIME__")
5 DEF(TOK___FUNCTION__
, "__FUNCTION__")
6 DEF(TOK___VA_ARGS__
, "__VA_ARGS__")
8 /* special identifiers */
9 DEF(TOK___FUNC__
, "__func__")
11 /* attribute identifiers */
12 DEF(TOK_SECTION
, "section")
13 DEF(TOK___SECTION__
, "__section__")
14 DEF(TOK_ALIGNED
, "aligned")
15 DEF(TOK___ALIGNED__
, "__aligned__")
16 DEF(TOK_UNUSED
, "unused")
17 DEF(TOK___UNUSED__
, "__unused__")
18 DEF(TOK_CDECL
, "cdecl")
19 DEF(TOK___CDECL
, "__cdecl")
20 DEF(TOK___CDECL__
, "__cdecl__")
21 DEF(TOK_STDCALL
, "stdcall")
22 DEF(TOK___STDCALL
, "__stdcall")
23 DEF(TOK___STDCALL__
, "__stdcall__")
24 DEF(TOK_NORETURN
, "noreturn")
25 DEF(TOK___NORETURN__
, "__noreturn__")
27 /* builtin functions or variables */
28 DEF(TOK_memcpy
, "memcpy")
29 DEF(TOK_memset
, "memset")
30 DEF(TOK_alloca
, "alloca")
31 DEF(TOK___divdi3
, "__divdi3")
32 DEF(TOK___moddi3
, "__moddi3")
33 DEF(TOK___udivdi3
, "__udivdi3")
34 DEF(TOK___umoddi3
, "__umoddi3")
35 DEF(TOK___sardi3
, "__sardi3")
36 DEF(TOK___shrdi3
, "__shrdi3")
37 DEF(TOK___shldi3
, "__shldi3")
38 DEF(TOK___tcc_int_fpu_control
, "__tcc_int_fpu_control")
39 DEF(TOK___tcc_fpu_control
, "__tcc_fpu_control")
40 DEF(TOK___ulltof
, "__ulltof")
41 DEF(TOK___ulltod
, "__ulltod")
42 DEF(TOK___ulltold
, "__ulltold")
43 DEF(TOK___fixunssfdi
, "__fixunssfdi")
44 DEF(TOK___fixunsdfdi
, "__fixunsdfdi")
45 DEF(TOK___fixunsxfdi
, "__fixunsxfdi")
47 /* bound checking symbols */
48 #ifdef CONFIG_TCC_BCHECK
49 DEF(TOK___bound_ptr_add
, "__bound_ptr_add")
50 DEF(TOK___bound_ptr_indir1
, "__bound_ptr_indir1")
51 DEF(TOK___bound_ptr_indir2
, "__bound_ptr_indir2")
52 DEF(TOK___bound_ptr_indir4
, "__bound_ptr_indir4")
53 DEF(TOK___bound_ptr_indir8
, "__bound_ptr_indir8")
54 DEF(TOK___bound_ptr_indir12
, "__bound_ptr_indir12")
55 DEF(TOK___bound_ptr_indir16
, "__bound_ptr_indir16")
56 DEF(TOK___bound_local_new
, "__bound_local_new")
57 DEF(TOK___bound_local_delete
, "__bound_local_delete")
58 DEF(TOK_malloc
, "malloc")
60 DEF(TOK_realloc
, "realloc")
61 DEF(TOK_memalign
, "memalign")
62 DEF(TOK_calloc
, "calloc")
63 DEF(TOK_memmove
, "memmove")
64 DEF(TOK_strlen
, "strlen")
65 DEF(TOK_strcpy
, "strcpy")