[PATCH] tst-tlsopt-powerpc as a shared lib

Florian Weimer fweimer@redhat.com
Mon Sep 4 21:39:00 GMT 2017


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



More information about the Binutils mailing list