diff options
author | Timo Teräs <timo.teras@iki.fi> | 2010-04-13 20:27:57 +0300 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2010-04-14 11:06:19 -0700 |
commit | 9ed510ad034f9327e7e032d2c6550bfb1f750eb9 (patch) | |
tree | 541b388a0a6adc3f694910a7cb2473be0a4be787 /libpthread | |
parent | a45cf01f792a950ae2ea810668d1c5becf162680 (diff) |
nptl: turn pointer demangling off
Currently the stub calls would
demangle the pointer that is never mangled. Alternatively, we could sync
nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c with new glibc version
that properly mangles the pointers, but that would need more validation
to make sure that all struct pthread_function readers do demangling.
uclibc currently does not do pointer mangling everywhere so it's more
consistent to just disable it here too.
Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread')
-rw-r--r-- | libpthread/nptl/sysdeps/pthread/pthread-functions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/pthread/pthread-functions.h b/libpthread/nptl/sysdeps/pthread/pthread-functions.h index 0c404fcbb..3808e4cb9 100644 --- a/libpthread/nptl/sysdeps/pthread/pthread-functions.h +++ b/libpthread/nptl/sysdeps/pthread/pthread-functions.h @@ -103,7 +103,7 @@ struct pthread_functions extern struct pthread_functions __libc_pthread_functions attribute_hidden; extern int __libc_pthread_functions_init attribute_hidden; -#ifdef PTR_DEMANGLE +#if 0 # define PTHFCT_CALL(fct, params) \ ({ __typeof (__libc_pthread_functions.fct) __p; \ __p = __libc_pthread_functions.fct; \ |