This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: TLS_INIT_TP, secondcall vs. USE___THREAD (was: GNU C Library master sources branch, master, updated. glibc-2.14-297-g52d4fef)


> > In the olden times, when USE___THREAD was still being defined (before
> > commit d063d164335938d557460bebaa7cfe388157b627), in both the two cases
> > above, TLS_INIT_TP(tcbp, 1) has been invoked.
> 
> USE___THREAD was always 0 in rtld.

Not "always".  But that was the status quo before the deconditionalization.
We still had some conditionalization leaving the possibility of __thread
or no for rtld itself, though nobody has done that in quite some time since
it's just simpler and more efficient for rtld itself not to use __thread.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]