Re: Text relocations in shared libs

Nick Hudson <[email protected]> Tue, 27 Dec 2005 08:51:33 +0000
Newsgroups gmane.os.netbsd.devel.toolchain,gmane.os.netbsd.ports.sh3
Message-ID <[email protected]>
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