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