aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.def
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2010-12-01 17:45:36 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2010-12-01 16:45:36 +0000
commitb01890ffd36bdd210e37b212b86eb3548ab325b6 (patch)
tree1a9bb0dbdc363905b0b9554093c37fa22dc1183a /gcc/builtins.def
parent0df226a41f324eb82b72efd37298f83aed7dff97 (diff)
downloadgcc-b01890ffd36bdd210e37b212b86eb3548ab325b6.zip
gcc-b01890ffd36bdd210e37b212b86eb3548ab325b6.tar.gz
gcc-b01890ffd36bdd210e37b212b86eb3548ab325b6.tar.bz2
tree.c (build_common_builtin_nodes): Do not initialize BUILT_IN_PROFILE_FUNC_ENTER and BUILT_IN_PROFILE_FUNC_EXIT.
* tree.c (build_common_builtin_nodes): Do not initialize BUILT_IN_PROFILE_FUNC_ENTER and BUILT_IN_PROFILE_FUNC_EXIT. * builtins.c (expand_builtin_profile_func): Remove. (expand_builtin): Do not handle BUILT_IN_PROFILE_FUNC_ENTER and BUILT_IN_PROFILE_FUNC_EXIT. * builtins.def (profile_func_enter, profile_func_exit): Remove stubs. (__cyg_profile_func_enter, __cyg_profile_func_exit): New. * gimplify.c (gimplify_function_tree): Reorganize code calling profiling functions. From-SVN: r167342
Diffstat (limited to 'gcc/builtins.def')
-rw-r--r--gcc/builtins.def6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/builtins.def b/gcc/builtins.def
index 28bcc0b..3e102e3 100644
--- a/gcc/builtins.def
+++ b/gcc/builtins.def
@@ -743,8 +743,10 @@ DEF_EXT_LIB_BUILTIN (BUILT_IN_VFPRINTF_CHK, "__vfprintf_chk", BT_FN_INT_FILEP
DEF_EXT_LIB_BUILTIN (BUILT_IN_VPRINTF_CHK, "__vprintf_chk", BT_FN_INT_INT_CONST_STRING_VALIST_ARG, ATTR_FORMAT_PRINTF_2_0)
/* Profiling hooks. */
-DEF_BUILTIN_STUB (BUILT_IN_PROFILE_FUNC_ENTER, "profile_func_enter")
-DEF_BUILTIN_STUB (BUILT_IN_PROFILE_FUNC_EXIT, "profile_func_exit")
+DEF_BUILTIN (BUILT_IN_PROFILE_FUNC_ENTER, "__cyg_profile_func_enter", BUILT_IN_NORMAL, BT_FN_VOID_PTR_PTR, BT_LAST,
+ false, false, false, ATTR_NULL, true, true)
+DEF_BUILTIN (BUILT_IN_PROFILE_FUNC_EXIT, "__cyg_profile_func_exit", BUILT_IN_NORMAL, BT_FN_VOID_PTR_PTR, BT_LAST,
+ false, false, false, ATTR_NULL, true, true)
/* TLS emulation. */
DEF_BUILTIN (BUILT_IN_EMUTLS_GET_ADDRESS, targetm.emutls.get_address,