From 9ed510ad034f9327e7e032d2c6550bfb1f750eb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Tue, 13 Apr 2010 20:27:57 +0300 Subject: nptl: turn pointer demangling off MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Austin Foxley --- libpthread/nptl/sysdeps/pthread/pthread-functions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpthread/nptl/sysdeps/pthread') 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; \ -- cgit v1.2.3