This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: RFC: STO_COPY again: Re: Copy relocation and protected symbol don't work together
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Roland McGrath <roland at redhat dot com>
- Cc: GNU C Library <libc-alpha at sources dot redhat dot com>,binutils at sources dot redhat dot com
- Date: Tue, 1 Apr 2003 07:57:53 -0800
- Subject: Re: RFC: STO_COPY again: Re: Copy relocation and protected symbol don't work together
- References: <20030331093345.A16557@lucon.org> <200304010725.h317P2Z15178@magilla.sf.frob.com>
On Mon, Mar 31, 2003 at 11:25:02PM -0800, Roland McGrath wrote:
>
> Basically, I think that anyone using STV_PROTECTED for mutable data items
> is asking for trouble and can't necessarily get what he intends. Your
> solution seems workable, but I am not really convinced that it is a mode of
> use that is worth supporting rather than actively discouraging.
I have no strong opinions on that myself. But some people may find it
useful. If you want to actively discourage it, ld.so should do some
checking, instead if silently failing. On the other hand, I'd like to
see it be supported unless the ABI says otherwise.
H.J.