diff options
author | Florian Weimer <fweimer@redhat.com> | 2015-10-17 12:06:48 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2015-10-17 12:06:48 +0200 |
commit | 6782806d8f6664d87d17bb30f8ce4e0c7c931e17 (patch) | |
tree | 801f82fe3599960755a3d253637afd843f2f0c12 /sysdeps/nptl | |
parent | db8ad8fac3ebdb6c68964f4d24185c2bd2c83342 (diff) | |
download | glibc-6782806d8f6664d87d17bb30f8ce4e0c7c931e17.zip glibc-6782806d8f6664d87d17bb30f8ce4e0c7c931e17.tar.gz glibc-6782806d8f6664d87d17bb30f8ce4e0c7c931e17.tar.bz2 |
malloc: Rewrite with explicit TLS access using __thread
Diffstat (limited to 'sysdeps/nptl')
-rw-r--r-- | sysdeps/nptl/malloc-machine.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sysdeps/nptl/malloc-machine.h b/sysdeps/nptl/malloc-machine.h index c0ec49e..8dea606 100644 --- a/sysdeps/nptl/malloc-machine.h +++ b/sysdeps/nptl/malloc-machine.h @@ -58,16 +58,6 @@ extern void *__dso_handle __attribute__ ((__weak__)); __linkin_atfork (&atfork_mem) #endif -/* thread specific data for glibc */ - -#include <libc-tsd.h> - -typedef int tsd_key_t[1]; /* no key data structure, libc magic does it */ -__libc_tsd_define (static, void *, MALLOC) /* declaration/common definition */ -#define tsd_key_create(key, destr) ((void) (key)) -#define tsd_setspecific(key, data) __libc_tsd_set (void *, MALLOC, (data)) -#define tsd_getspecific(key, vptr) ((vptr) = __libc_tsd_get (void *, MALLOC)) - #include <sysdeps/generic/malloc-machine.h> #endif /* !defined(_MALLOC_MACHINE_H) */ |