1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-07 06:43:00 +03:00

[BZ #5246] Conditionalize use of PTR_DEMANGLE.

This commit is contained in:
Thomas Schwinge
2012-11-04 21:46:30 +01:00
parent a0c2940d67
commit e10bb1072c
4 changed files with 23 additions and 10 deletions

View File

@@ -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;