From 7ed87317c7fb08990e943698ed06c75377320ab0 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sun, 20 Aug 2017 06:39:10 -0700 Subject: Remove __bb_init_func and __bb_exit_func [BZ #21974] __bb_init_func and __bb_exit_func have been removed from GCC 3.3 in 2002 by https://gcc.gnu.org/ml/gcc-patches/2002-09/msg00499.html which also recommended that they should also be removed from glibc. These functions exist only in libc.a and are used for gcov from versions of GCC older than GCC 3.3. [BZ #21974] * gmon/Makefile (routines): Remove bb_init_func and bb_exit_func. (elide-routines.os): Removed. * include/sys/gmon.h (__bb): Likewise. (__bb_init_func): Likewise. (__bb_exit_func): Likewise. --- include/sys/gmon.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include') diff --git a/include/sys/gmon.h b/include/sys/gmon.h index 30889d8..06b07fb 100644 --- a/include/sys/gmon.h +++ b/include/sys/gmon.h @@ -9,10 +9,6 @@ extern void __write_profiling (void); extern void write_profiling (void); -struct __bb; -extern void __bb_init_func (struct __bb *bb); -extern void __bb_exit_func (void); - extern struct gmonparam _gmonparam attribute_hidden; # endif /* !_ISOMAC */ -- cgit v1.1