[PATCH] ld.so __libc_memalign cleanup
Florian Weimer
fweimer@redhat.com
Wed Nov 16 14:59:00 GMT 2016
I did not understand what was going on in terms of exported symbols when
I removed the use of __libc_memalign from ld.so. Andreas explained to
me that the libc malloc is interposed into the dynamic linker (for later
use during dlopen), and that's the reason why the symbols are public in
ld.so.
Now that we no longer use __libc_memalign, we do not need to interpose
it, so the attached patch removes it from ld.so.
Tested on s390x, ppc64le, x86_64, i386, s390, ppc, aarch64. (Final
version with the elf/Versions change only tested on x86_64, ppc, aarch64.)
Thanks,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ld-memalign.patch
Type: text/x-patch
Size: 30380 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20161116/61a2f7ed/attachment.bin>
More information about the Libc-alpha
mailing list