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: [PATCH] ARM: Fix handling of concurrent TLS descriptor resolution


On Fri, 23 May 2014, Will Newton wrote:

> The current code for handling concurrent resolution says that the
> ABI for _dl_tlsdesc_resolve_hold is the same as that of
> _dl_tlsdesc_lazy_resolver. However _dl_tlsdesc_resolve_hold is
> called from the trampoline directly rather than the lazy resolver
> stub so, for example, r2 has not been pushed so does not needed
> to be restored.
> 
> This fixes an intermittent failure in nptl/tst-tls3 when building
> glibc for arm-linux-gnueabihf with -mtls-dialect=gnu2.
> 
> ChangeLog:
> 
> 2014-05-23  Will Newton  <will.newton@linaro.org>
> 
> 	* sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
> 	and restore r2 rather than just restoring.

OK with a bug filed in Bugzilla (I presume this bug was user-visible in 
past releases) and the bug number then duly listed in the ChangeLog entry 
and NEWS before the bug is closed.

-- 
Joseph S. Myers
joseph@codesourcery.com


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