[PATCH] Add hidden __tls_get_addr/___tls_get_addr alias

Chris Metcalf cmetcalf@ezchip.com
Sun Dec 21 17:05:00 GMT 2014


On 12/20/2014 4:10 PM, H.J. Lu wrote:
> index d7d6734..1a40cf9 100644
> --- a/sysdeps/generic/localplt.data
> +++ b/sysdeps/generic/localplt.data
> @@ -7,10 +7,9 @@ libc.so: malloc
>   libc.so: memalign
>   libc.so: realloc
>   libm.so: matherr
> -# The dynamic loader needs __tls_get_addr for TLS, and uses __libc_memalign
> -# internally to allocate aligned TLS storage. The other malloc family of
> -# functions are expected to allow user symbol interposition.
> -ld.so: __tls_get_addr
> +# The dynamic loader uses __libc_memalign internally to allocate aligned
> +# TLS storage. The other malloc family of functions are expected to allow
> +# user symbol interposition.
>   ld.so: __libc_memalign
>   ld.so: malloc
>   ld.so: calloc

Great, thanks.  I will remove the tile-specific version when this is pushed.

-- 
Chris Metcalf, EZChip Semiconductor
http://www.ezchip.com



More information about the Libc-alpha mailing list