malloc: Remove __malloc_initialize_hook from the API [BZ #19564]
commit2ba3cfa1607c36613f3b30fb1ae4ec530245ce64
authorFlorian Weimer <fweimer@redhat.com>
Fri, 10 Jun 2016 08:46:05 +0000 (10 10:46 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 10 Jun 2016 08:46:05 +0000 (10 10:46 +0200)
tree4c215fe75ef1c016943e36821137257480097e01
parentf00faa4a43706d85ad8d4d2c970d3f52f0f63bfb
malloc: Remove __malloc_initialize_hook from the API [BZ #19564]

__malloc_initialize_hook is interposed by application code, so
the usual approach to define a compatibility symbol does not work.
This commit adds a new mechanism based on #pragma GCC poison in
<stdc-predef.h>.
ChangeLog
NEWS
include/stdc-predef.h
malloc/Makefile
malloc/arena.c
malloc/malloc-hooks.h [new file with mode: 0644]
malloc/malloc.c
malloc/malloc.h
malloc/mcheck-init.c
manual/memory.texi