about summary refs log tree commit diff
path: root/include/sys
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 /include/sys
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 'include/sys')
-rw-r--r--include/sys/gmon.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/sys/gmon.h b/include/sys/gmon.h
index 30889d8bc3..06b07fb2a5 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 */