about summary refs log tree commit diff
path: root/gmon/Makefile
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-08-20 06:39:10 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-08-20 06:39:31 -0700
commit7ed87317c7fb08990e943698ed06c75377320ab0 (patch)
treeb24a8a7f6e2fc22b8a895e3045d4e483edf3ecfd /gmon/Makefile
parent94e6ba153b80a91e97386594729cd36eab69f507 (diff)
downloadglibc-7ed87317c7fb08990e943698ed06c75377320ab0.tar.gz
glibc-7ed87317c7fb08990e943698ed06c75377320ab0.tar.xz
glibc-7ed87317c7fb08990e943698ed06c75377320ab0.zip
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.
Diffstat (limited to 'gmon/Makefile')
-rw-r--r--gmon/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/gmon/Makefile b/gmon/Makefile
index 39f11acec2..ea5d88412a 100644
--- a/gmon/Makefile
+++ b/gmon/Makefile
@@ -23,9 +23,7 @@ subdir	:= gmon
 include ../Makeconfig
 
 headers	:= sys/gmon.h sys/gmon_out.h sys/profil.h
-routines := gmon mcount profil sprofil bb_init_func bb_exit_func prof-freq
-
-elide-routines.os = bb_init_func bb_exit_func
+routines := gmon mcount profil sprofil prof-freq
 
 tests	= tst-sprofil tst-gmon
 ifeq ($(build-profile),yes)