]> git.ipfire.org Git - thirdparty/glibc.git/commit
malloc: Use compat_symbol_reference in libmcheck [BZ #22050]
authorFlorian Weimer <fweimer@redhat.com>
Mon, 16 Oct 2017 18:52:34 +0000 (20:52 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 16 Oct 2017 18:52:34 +0000 (20:52 +0200)
commit7ece6cd509703ee151092a50956dbd45ca1b13da
tree3d7ab02934c1d23ac9a090be4f4499f098c69146
parentd8287b36ab44aa2bc3ba59b97433bcf0ab6ae0e8
malloc: Use compat_symbol_reference in libmcheck [BZ #22050]

Since glibc 2.24, __malloc_initialize_hook is a compat symbol.  As a
result, the link editor does not export a definition of
__malloc_initialize_hook from the main program, so that it no longer
interposes the variable definition in libc.so.  Specifying the symbol
version restores the exported symbol.
ChangeLog
malloc/mcheck-init.c