[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] parisc: futex: Use same lock set as lws calls



On Fri, Oct 21, 2011 at 2:11 PM, John David Anglin <dave.anglin@bell.net> wrote:
> On 10/21/2011 1:42 PM, John David Anglin wrote:
>>
>> Yes.  The issue here is expand_call doesn't appear to be aware that
>> loading the
>> address of a __thread variable may require a call.  Thus, it just emits an
>> insn to
>> load r26.  This load is dead because r26 is reloaded for the call to
>> __tls_get_addr.
>
> It appears this may be caused by treating TLS symbols as legitimate
> constants.

Which they are not in any of the *_DYNAMIC modes, because the dynamic
linker is involved in their placement.

Cheers,
Carlos.


Reply to: