This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: #ifndef SHARED in pthread.h
On Mon, Jun 4, 2012 at 1:50 PM, Roland McGrath <roland@hack.frob.com> wrote:
>> There is a hidden definition of __pthread_unwind_next in nptl/unwind.c.
>
> It's a public, exported definition. ?It also has a hidden_def declaration
> because i386's and SH's pthread_once implementation uses it internally.
>
>> Where would a second definition of __pthread_unwind_next come from?
>
> There is no other.
Well, if there is no other then why mark it weak?
Cheers,
Carlos.