diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-10-16 20:52:34 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-10-16 20:52:34 +0200 |
commit | 7ece6cd509703ee151092a50956dbd45ca1b13da (patch) | |
tree | 3d7ab02934c1d23ac9a090be4f4499f098c69146 /ChangeLog | |
parent | d8287b36ab44aa2bc3ba59b97433bcf0ab6ae0e8 (diff) | |
download | glibc-7ece6cd509703ee151092a50956dbd45ca1b13da.tar.gz glibc-7ece6cd509703ee151092a50956dbd45ca1b13da.tar.xz glibc-7ece6cd509703ee151092a50956dbd45ca1b13da.zip |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index c10cb9fd22..f860884e14 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2017-10-16 Florian Weimer <fweimer@redhat.com> + [BZ #22050] + * malloc/mcheck-init.c (__malloc_initialize_hook): Use + compat_symbol_reference to access non-default version. + +2017-10-16 Florian Weimer <fweimer@redhat.com> + * malloc/Makefile (others-extras): Set to mcheck-init.o. 2017-10-16 Carlos O'Donell <carlos@redhat.com> |