diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2012-11-04 21:46:30 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2012-11-04 21:46:30 +0100 |
commit | e10bb1072cf11e52aad85d59673da86aeafd1b47 (patch) | |
tree | 5a3c71941be667ff8ced391026b254220e8dd8d7 /csu/libc-start.c | |
parent | a0c2940d67e59b2f19515e2ac7280a7be9629ffa (diff) | |
download | glibc-e10bb1072cf11e52aad85d59673da86aeafd1b47.tar.gz glibc-e10bb1072cf11e52aad85d59673da86aeafd1b47.tar.xz glibc-e10bb1072cf11e52aad85d59673da86aeafd1b47.zip |
[BZ #5246] Conditionalize use of PTR_DEMANGLE.
Diffstat (limited to 'csu/libc-start.c')
-rw-r--r-- | csu/libc-start.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/csu/libc-start.c b/csu/libc-start.c index e335b64d15..e890535e33 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; |