00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef GCC_LIBFUNCS_H
00022 #define GCC_LIBFUNCS_H
00023
00024
00025 enum libfunc_index
00026 {
00027 LTI_abort,
00028 LTI_memcpy,
00029 LTI_memmove,
00030 LTI_memcmp,
00031 LTI_memset,
00032 LTI_setbits,
00033
00034 LTI_unwind_resume,
00035 LTI_eh_personality,
00036 LTI_setjmp,
00037 LTI_longjmp,
00038 LTI_unwind_sjlj_register,
00039 LTI_unwind_sjlj_unregister,
00040
00041 LTI_profile_function_entry,
00042 LTI_profile_function_exit,
00043
00044 LTI_gcov_flush,
00045
00046 LTI_MAX
00047 };
00048
00049
00050
00051 extern GTY(()) rtx libfunc_table[LTI_MAX];
00052
00053
00054
00055 #define abort_libfunc (libfunc_table[LTI_abort])
00056 #define memcpy_libfunc (libfunc_table[LTI_memcpy])
00057 #define memmove_libfunc (libfunc_table[LTI_memmove])
00058 #define memcmp_libfunc (libfunc_table[LTI_memcmp])
00059 #define memset_libfunc (libfunc_table[LTI_memset])
00060 #define setbits_libfunc (libfunc_table[LTI_setbits])
00061
00062 #define unwind_resume_libfunc (libfunc_table[LTI_unwind_resume])
00063 #define eh_personality_libfunc (libfunc_table[LTI_eh_personality])
00064 #define setjmp_libfunc (libfunc_table[LTI_setjmp])
00065 #define longjmp_libfunc (libfunc_table[LTI_longjmp])
00066 #define unwind_sjlj_register_libfunc (libfunc_table[LTI_unwind_sjlj_register])
00067 #define unwind_sjlj_unregister_libfunc \
00068 (libfunc_table[LTI_unwind_sjlj_unregister])
00069
00070 #define profile_function_entry_libfunc (libfunc_table[LTI_profile_function_entry])
00071 #define profile_function_exit_libfunc (libfunc_table[LTI_profile_function_exit])
00072
00073 #define gcov_flush_libfunc (libfunc_table[LTI_gcov_flush])
00074
00075 #endif