[PATCH] malloc: Remove __malloc_initialize_hook from the API [BZ #19564]

Florian Weimer fweimer@redhat.com
Tue May 24 13:47:00 GMT 2016


The attached patch continues with the removal of deprecated malloc 
functionality.  It depends on the patches posted before 
(“tst-rec-dlopen: Use custom malloc instead of hooks”, “malloc: Remove 
__malloc_check_init from the API”).

I tackled a single hook variable first, __malloc_initialize_hook.  It is 
the one that Emacs needs to use heap dumping with the system malloc.

I expect to remove the other hooks as well, so I did not update the 
manual with advice how to use the hooks without __malloc_initialize_hook.

Thanks,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug19564.patch
Type: text/x-patch
Size: 8456 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160524/71785957/attachment.bin>


More information about the Libc-alpha mailing list