diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-10-04 07:06:56 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-10-04 07:06:56 +0000 |
commit | 7548969348abfda04bccaad8f3438a7a92c78e50 (patch) | |
tree | 4c9665e2ced88b0bb94b3ed92762ef42ce4f6d83 /elf/rtld.c | |
parent | 26d550d38b5c49ddf29055d07301f18a61fc0145 (diff) | |
download | glibc-7548969348abfda04bccaad8f3438a7a92c78e50.tar glibc-7548969348abfda04bccaad8f3438a7a92c78e50.tar.gz glibc-7548969348abfda04bccaad8f3438a7a92c78e50.tar.bz2 glibc-7548969348abfda04bccaad8f3438a7a92c78e50.zip |
Update.
2004-10-04 Ulrich Drepper <drepper@redhat.com>
* elf/rtld.c (dl_main): Only skip => output in ldd mode if both
strings are identical.
Diffstat (limited to 'elf/rtld.c')
-rw-r--r-- | elf/rtld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/rtld.c b/elf/rtld.c index 1ee875a088..ed1931ce8e 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -1572,7 +1572,7 @@ cannot allocate TLS data structures for initial thread"); if (l->l_faked) /* The library was not found. */ _dl_printf ("\t%s => not found\n", l->l_libname->name); - else if (l->l_libname->name[0] == '/') + else if (strcmp (l->l_libname->name, l->l_name) == 0) _dl_printf ("\t%s (0x%0*Zx)\n", l->l_libname->name, (int) sizeof l->l_map_start * 2, (size_t) l->l_map_start); |