This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] ld.so __libc_memalign cleanup


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]