diff options
| author | bellard <bellard> | 2002-07-24 22:12:47 +0000 |
|---|---|---|
| committer | bellard <bellard> | 2002-07-24 22:12:47 +0000 |
| commit | e9315f499bc138b67c2e241d8f4a1b167815c8b6 (patch) | |
| tree | cd3226cab18f7dcc4c277e315fa97718f552091a /tcctok.h | |
| parent | b2834b35b55c5edb1b36717cba5ff007c04a33c3 (diff) | |
| download | tinycc-e9315f499bc138b67c2e241d8f4a1b167815c8b6.tar.gz tinycc-e9315f499bc138b67c2e241d8f4a1b167815c8b6.tar.bz2 | |
added bound check symbols
Diffstat (limited to 'tcctok.h')
| -rw-r--r-- | tcctok.h | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -14,7 +14,7 @@ DEF(TOK___STDCALL__, "__stdcall__") DEF(TOK_NORETURN, "noreturn") DEF(TOK___NORETURN__, "__noreturn__") -/* builtin functions */ +/* builtin functions or variables */ DEF(TOK_memcpy, "memcpy") DEF(TOK_memset, "memset") DEF(TOK___divdi3, "__divdi3") @@ -24,12 +24,17 @@ DEF(TOK___umoddi3, "__umoddi3") DEF(TOK___sardi3, "__sardi3") DEF(TOK___shrdi3, "__shrdi3") DEF(TOK___shldi3, "__shldi3") +DEF(TOK___tcc_int_fpu_control, "__tcc_int_fpu_control") +DEF(TOK___tcc_fpu_control, "__tcc_fpu_control") DEF(TOK___ulltof, "__ulltof") DEF(TOK___ulltod, "__ulltod") DEF(TOK___ulltold, "__ulltold") DEF(TOK___fixunssfdi, "__fixunssfdi") DEF(TOK___fixunsdfdi, "__fixunsdfdi") DEF(TOK___fixunsxfdi, "__fixunsxfdi") + +/* bound checking symbols */ +#ifdef CONFIG_TCC_BCHECK DEF(TOK___bound_ptr_add, "__bound_ptr_add") DEF(TOK___bound_ptr_indir1, "__bound_ptr_indir1") DEF(TOK___bound_ptr_indir2, "__bound_ptr_indir2") @@ -37,3 +42,14 @@ DEF(TOK___bound_ptr_indir4, "__bound_ptr_indir4") DEF(TOK___bound_ptr_indir8, "__bound_ptr_indir8") DEF(TOK___bound_ptr_indir12, "__bound_ptr_indir12") DEF(TOK___bound_ptr_indir16, "__bound_ptr_indir16") +DEF(TOK___bound_local_new, "__bound_local_new") +DEF(TOK___bound_local_delete, "__bound_local_delete") +DEF(TOK_malloc, "malloc") +DEF(TOK_free, "free") +DEF(TOK_realloc, "realloc") +DEF(TOK_memalign, "memalign") +DEF(TOK_calloc, "calloc") +DEF(TOK_memmove, "memmove") +DEF(TOK_strlen, "strlen") +DEF(TOK_strcpy, "strlen") +#endif |
