Subject: Re: Text relocations in shared libs
To: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
From: Nick Hudson <skrll@netbsd.org>
List: port-sh3
Date: 12/27/2005 08:51:33
On Sunday 25 December 2005 13:02, Valeriy E. Ushakov wrote:
[...]
> The benefits of calling cerror via plt are not clear, b/c there's
> little point in allowing cerror to be overridden, after all it's just
> the error path factored out of all the syscalls.  I'm really inclined
> to think that making cerror .protected or even .hidden is the right
> thing to do.

Aren't there *lots* of symbols in libc that don't need to be exposed? Why 
special case cerror and the others with text relocations in libc?

Nick