From 047a7e404bfa33d0c438208c29d8a2a974ead4d4 Mon Sep 17 00:00:00 2001 From: rsandifo Date: Thu, 26 Jun 2008 21:28:30 +0000 Subject: gcc/ * libfuncs.h (LTI_synchronize): New libfunc_index. (synchronize_libfunc): Declare. * builtins.c (expand_builtin_synchronize): Consider using synchronize_libfunc before falling back on an asm blockage. * config/mips/mips.c: Include libfuncs.h (mips_init_libfuncs): Initialize synchronize_libfunc for TARGET_MIPS16. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137162 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/libfuncs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/libfuncs.h') diff --git a/gcc/libfuncs.h b/gcc/libfuncs.h index f7f6a6299c4..ef636da36bb 100644 --- a/gcc/libfuncs.h +++ b/gcc/libfuncs.h @@ -40,6 +40,8 @@ enum libfunc_index LTI_profile_function_entry, LTI_profile_function_exit, + LTI_synchronize, + LTI_gcov_flush, LTI_MAX @@ -69,6 +71,8 @@ extern GTY(()) rtx libfunc_table[LTI_MAX]; #define profile_function_entry_libfunc (libfunc_table[LTI_profile_function_entry]) #define profile_function_exit_libfunc (libfunc_table[LTI_profile_function_exit]) +#define synchronize_libfunc (libfunc_table[LTI_synchronize]) + #define gcov_flush_libfunc (libfunc_table[LTI_gcov_flush]) #endif /* GCC_LIBFUNCS_H */ -- cgit v1.2.1