From e10bb1072cf11e52aad85d59673da86aeafd1b47 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sun, 4 Nov 2012 21:46:30 +0100 Subject: [BZ #5246] Conditionalize use of PTR_DEMANGLE. --- csu/libc-start.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'csu/libc-start.c') diff --git a/csu/libc-start.c b/csu/libc-start.c index e335b64..e890535 100644 --- a/csu/libc-start.c +++ b/csu/libc-start.c @@ -272,7 +272,9 @@ LIBC_START_MAIN (int (*main) (int, char **, char ** MAIN_AUXVEC_DECL), result = 0; # ifdef SHARED unsigned int *ptr = __libc_pthread_functions.ptr_nthreads; +# ifdef PTR_DEMANGLE PTR_DEMANGLE (ptr); +# endif # else extern unsigned int __nptl_nthreads __attribute ((weak)); unsigned int *const ptr = &__nptl_nthreads; -- cgit v1.1