This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: ppc64le: expected localentry:0 `pthread_condattr_destroy'
On Fri, Jul 28, 2017 at 11:41:49AM +0100, Nick Clifton wrote:
> Hi Alan,
>
> > So will linking with -Wl,--no-plt-localentry
>
> Naive question - how does this optimization get enabled ?
>
> My reading of the code is that ppc64elf.em initialises the plt_localentry0
> field in the params structure to -1, and then elf64-ppc.c:ppc64_elf_tls_setup()
> sets the field to either 1 or 0 depending upon whether the GLIB_2.26 symbol
> exists.
Right.
> But - Fedora rawhide is using glibc 2.25, so the symbol should not
> exist,
But apparently it does..
> and so the optimization should not be enabled... right ?
>
> Cheers
> Nick
>
>
--
Alan Modra
Australia Development Lab, IBM