string: Use tls-internal on strerror_l
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 14 May 2020 20:56:25 +0000 (17:56 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 7 Jul 2020 17:10:58 +0000 (14:10 -0300)
commit725eeb4af14c6fec4ed26a796cdfd6d50df86d42
treed42f43a268e498d3ff8a891ef274747e4f2a0795
parent28aff047818eb1726394296d27b9c7885340bead
string: Use tls-internal on strerror_l

The buffer allocation uses the same strategy of strsignal.

Checked on x86-64-linux-gnu, i686-linux-gnu, powerpc64le-linux-gnu,
and s390x-linux-gnu.

Tested-by: Carlos O'Donell <carlos@redhat.com>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
include/string.h
malloc/thread-freeres.c
string/strerror_l.c
sysdeps/generic/tls-internal-struct.h
sysdeps/generic/tls-internal.h
sysdeps/mach/strerror_l.c
sysdeps/unix/sysv/linux/tls-internal.h