From 4458cc330e6e5b7369151ebe172c00faceb43ade Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 8 Jul 2016 16:01:41 +0200 Subject: cleanup PTR_MANGLE/PTR_DEMANGLE support As this is only implemented for a few architecture and not well tested, just remove it. Reviewed-by: Max Filippov --- libpthread/nptl/sysdeps/pthread/pthread-functions.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'libpthread/nptl/sysdeps/pthread/pthread-functions.h') diff --git a/libpthread/nptl/sysdeps/pthread/pthread-functions.h b/libpthread/nptl/sysdeps/pthread/pthread-functions.h index 119fe6b71..9c78180c5 100644 --- a/libpthread/nptl/sysdeps/pthread/pthread-functions.h +++ b/libpthread/nptl/sysdeps/pthread/pthread-functions.h @@ -102,15 +102,7 @@ struct pthread_functions extern struct pthread_functions __libc_pthread_functions attribute_hidden; extern int __libc_pthread_functions_init attribute_hidden; -#if 0 /* def PTR_DEMANGLE */ /* we did not mangle, so do not demangle */ -# define PTHFCT_CALL(fct, params) \ - ({ __typeof (__libc_pthread_functions.fct) __p; \ - __p = __libc_pthread_functions.fct; \ - PTR_DEMANGLE (__p); \ - __p params; }) -#else # define PTHFCT_CALL(fct, params) \ __libc_pthread_functions.fct params -#endif #endif /* pthread-functions.h */ -- cgit v1.2.3