This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] tst-tlsopt-powerpc as a shared lib
- From: Florian Weimer <fweimer at redhat dot com>
- To: Alan Modra <amodra at gmail dot com>, Adam Conrad <adconrad at 0c3 dot net>
- Cc: Carlos O'Donell <carlos at redhat dot com>, Tulio Magno Quites Machado Filho <tuliom at linux dot vnet dot ibm dot com>, Josh Stone <jistone at redhat dot com>, libc-alpha at sourceware dot org, binutils at sourceware dot org, Matthias Klose <doko at ubuntu dot com>, Steven Munroe <sjmunroe at us dot ibm dot com>
- Date: Mon, 4 Sep 2017 23:39:09 +0200
- Subject: Re: [PATCH] tst-tlsopt-powerpc as a shared lib
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=fweimer at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 54F76C04D313
- References: <00ac3cbe-47f4-ccf0-3017-c1f2ab43db20@redhat.com> <30946d0a-a095-f5cb-bf0b-d3897712cdab@redhat.com> <ef3da09f-5e98-223c-8e77-68c724c12df7@redhat.com> <be439468-44fe-6cf1-0519-d03e50dd8432@redhat.com> <20170727040411.GX14520@bubble.grove.modra.org> <d61a7515-31b7-5799-948c-25aa77fa2d76@redhat.com> <20170727234529.GZ14520@bubble.grove.modra.org> <20170728090246.GA1956@bubble.grove.modra.org> <20170728130744.GU21230@0c3.net> <20170730000430.GF1956@bubble.grove.modra.org>
On 07/30/2017 02:04 AM, Alan Modra wrote:
> * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
> tst-tlsopt-powerpc.c with function name change and no test harness.
> * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
> Call tls_get_addr_opt_test.
> * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
> (modules-names): Add mod-tlsopt-powerpc.
> (mod-tlsopt-powerpc.so-no-z-defs): Define.
> (tst-tlsopt-powerpc): Depend on .so.
> * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
> define. Expand use in TLS_GD and TLS_LD.
Should we backport this to the active release branches?
Thanks,
Florian