diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-05-14 17:56:25 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-07-07 14:10:58 -0300 |
commit | 725eeb4af14c6fec4ed26a796cdfd6d50df86d42 (patch) | |
tree | d42f43a268e498d3ff8a891ef274747e4f2a0795 /malloc | |
parent | 28aff047818eb1726394296d27b9c7885340bead (diff) | |
download | glibc-725eeb4af14c6fec4ed26a796cdfd6d50df86d42.tar glibc-725eeb4af14c6fec4ed26a796cdfd6d50df86d42.tar.gz glibc-725eeb4af14c6fec4ed26a796cdfd6d50df86d42.tar.bz2 glibc-725eeb4af14c6fec4ed26a796cdfd6d50df86d42.zip |
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>
Diffstat (limited to 'malloc')
-rw-r--r-- | malloc/thread-freeres.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/malloc/thread-freeres.c b/malloc/thread-freeres.c index 3408bdbefd..eb29d53310 100644 --- a/malloc/thread-freeres.c +++ b/malloc/thread-freeres.c @@ -32,7 +32,6 @@ __libc_thread_freeres (void) { call_function_static_weak (__rpc_thread_destroy); call_function_static_weak (__res_thread_freeres); - call_function_static_weak (__strerror_thread_freeres); __glibc_tls_internal_free (); /* This should come last because it shuts down malloc for this |