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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user