This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: long double redirects and dynamic loader behavior
- From: Florian Weimer <fweimer at redhat dot com>
- To: Paul E Murphy <murphyp at linux dot ibm dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, carlos at redhat dot com, Tulio Magno Quites Machado Filho <tuliom at linux dot ibm dot com>
- Date: Wed, 26 Feb 2020 10:49:17 +0100
- Subject: Re: long double redirects and dynamic loader behavior
- References: <4602467a-2114-34d5-4f99-bf5ac4ef3d6d@linux.ibm.com>
* Paul E. Murphy:
> dlsym is more tricky. The redirects obfuscate the naming of many
> common symbols. I.e dlsym(...,"printf") might give you something
> which almost works, but is broken.
We can add a new symbol version to printf which defaults to C99 plus
long double. Then that's what's dlsym going to pick up.
Thanks,
Florian