Timo Teräs <[email protected]> wrote on 2010/04/16 11:45:54: > Timo Teräs wrote: > > Joakim Tjernlund wrote: > >>>> Yes. Exactly that. It's __attribute__(( visibility("protected") )). > >>>> Or .protected for asm. I'm doing a patch on this right now. > >>>> http://www.ohse.de/uwe/articles/gcc-attributes.html#func-visibility > >>> But this is PROTECTED and you might need to impl. STB_PROTECTED in ldso > >> That should be STV_PROTECTED > >> > >>> to support it. I once looked at that when I was hacking ldso in uClibc > >>> some years ago but I don't remember the details any more. > > > > Ah, you're right. It does need ld.so support. I'll try to figure out > > if it's easy to implement, or if we get away with some linker flags. > > Huh. Actually, I think we can keep attribute hidden, and just make > the uclibc use internally the public pthread_* function that are > being forwarded anyway. Duh. I'll try this.
If not, protected might work as is for functions. I am not sure I have understood the exact semantics for PROTECTED though. Jocke _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
