[PATCH] ld.so __libc_memalign cleanup
Florian Weimer
fweimer@redhat.com
Wed Nov 30 15:43:00 GMT 2016
On 11/16/2016 03:59 PM, Florian Weimer wrote:
> 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.)
I have committed this.
Thanks,
Florian
More information about the Libc-alpha
mailing list