diff options
author | Richard Henderson <rth@redhat.com> | 2003-04-11 12:45:32 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-04-11 12:45:32 -0700 |
commit | 68d28100a03d7a4bb0f5763f6478c2c84bf4e2ab (patch) | |
tree | b0e7821af42b01b42543a20a94b4ac966bf4eff5 /gcc/optabs.c | |
parent | 8d3f856e31650d9c61a53af7b243d9d96702fbbd (diff) | |
download | gcc-68d28100a03d7a4bb0f5763f6478c2c84bf4e2ab.zip gcc-68d28100a03d7a4bb0f5763f6478c2c84bf4e2ab.tar.gz gcc-68d28100a03d7a4bb0f5763f6478c2c84bf4e2ab.tar.bz2 |
libfuncs.h (LTI_setbits, [...]): New.
* libfuncs.h (LTI_setbits, LTI_gcov_flush, LTI_gcov_init): New.
(setbits_libfunc, gcov_flush_libfunc, gcov_init_libfunc): New.
* optabs.c (init_optabs): Initialize them.
(init_libfuncs): Use init_one_libfunc.
* calls.c (expand_call): Use gcov_flush_libfunc.
* expr.c (store_constructor): Use setbits_libfunc.
* function.c (expand_main_function): Use init_one_libfunc.
* profile.c (create_profiler): Use gcov_init_libfunc and DECL_RTL.
From-SVN: r65478
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r-- | gcc/optabs.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c index 14d93c6..fc00b18 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -5329,8 +5329,7 @@ init_libfuncs (optable, first_mode, last_mode, opname, suffix) *p = '\0'; optable->handlers[(int) mode].libfunc - = gen_rtx_SYMBOL_REF (Pmode, ggc_alloc_string (libfunc_name, - p - libfunc_name)); + = init_one_libfunc (ggc_alloc_string (libfunc_name, p - libfunc_name)); } } @@ -5647,6 +5646,7 @@ init_optabs () bcmp_libfunc = init_one_libfunc ("__gcc_bcmp"); memset_libfunc = init_one_libfunc ("memset"); bzero_libfunc = init_one_libfunc ("bzero"); + setbits_libfunc = init_one_libfunc ("__setbits"); unwind_resume_libfunc = init_one_libfunc (USING_SJLJ_EXCEPTIONS ? "_Unwind_SjLj_Resume" @@ -5756,6 +5756,9 @@ init_optabs () profile_function_exit_libfunc = init_one_libfunc ("__cyg_profile_func_exit"); + gcov_flush_libfunc = init_one_libfunc ("__gcov_flush"); + gcov_init_libfunc = init_one_libfunc ("__gcov_init"); + #ifdef HAVE_conditional_trap init_traps (); #endif |