This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/5] Use protected visibility for _rtld_global and _rtld_global_ro
- From: Peter Collingbourne <pcc at google dot com>
- To: Richard Henderson <rth at twiddle dot net>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 13 May 2013 19:48:24 +0200
- Subject: Re: [PATCH 1/5] Use protected visibility for _rtld_global and _rtld_global_ro
- References: <1368459372-2415-1-git-send-email-pcc at google dot com> <1368459372-2415-2-git-send-email-pcc at google dot com> <51911545 dot 6060907 at twiddle dot net>
On Mon, May 13, 2013 at 6:31 PM, Richard Henderson <rth@twiddle.net> wrote:
> On 05/13/2013 08:36 AM, Peter Collingbourne wrote:
>> _rtld_local was created back in 2002 (see commit 0d01dac), and the
>> protected attribute removed on _rtld_global, for an undocumented
>> reason...
>
> Protected visibility requires more runtime overhead in the dynamic linker.
Ah. Now that I've read Ian's article (properly) I see what the issue is.
I'll try a few things and also see if this can be dealt with on the LLVM side.
Peter