[PATCH] malloc: Remove __malloc_initialize_hook from the API [BZ #19564]
Florian Weimer
fweimer@redhat.com
Tue Jun 7 17:43:00 GMT 2016
Attached is a slightly more polished version of this patch. I rebased
it on current master, so it no longer depends on the patch which removes
__malloc_check_init.
I still do not know a better way to get rid of the symbol. This version
of the patch also makes the symbol a compat symbol. It turns out the
preprocessor expansion does the right thing; the symbol name is
translated before it is converted to a string.
eu-readelf output looks reasonable, no default version:
1794: 000000000039b790 8 OBJECT WEAK DEFAULT 33
__malloc_initialize_hook@GLIBC_2.2.5
Thanks,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: malloc-init-hook.patch
Type: text/x-patch
Size: 8599 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160607/a7821d14/attachment.bin>
More information about the Libc-alpha
mailing list