From 68d28100a03d7a4bb0f5763f6478c2c84bf4e2ab Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 11 Apr 2003 12:45:32 -0700 Subject: 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 --- gcc/function.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gcc/function.c') diff --git a/gcc/function.c b/gcc/function.c index 1f2ed44..699fd21 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -6470,8 +6470,7 @@ expand_main_function () #endif #ifndef HAS_INIT_SECTION - emit_library_call (gen_rtx_SYMBOL_REF (Pmode, NAME__MAIN), LCT_NORMAL, - VOIDmode, 0); + emit_library_call (init_one_libfunc (NAME__MAIN), LCT_NORMAL, VOIDmode, 0); #endif } -- cgit v1.1