diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-08-25 06:33:07 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-08-25 06:33:07 +0000 |
commit | cf44e2dd737fb0e6e75d68bc82df84de657d0a40 (patch) | |
tree | 69b3043c4fa4c6d2ad06ec4157b10dcc174dd923 /elf | |
parent | c90b5d28387b2fe48e6faba05b0b17d67148be3a (diff) | |
download | glibc-cf44e2dd737fb0e6e75d68bc82df84de657d0a40.zip glibc-cf44e2dd737fb0e6e75d68bc82df84de657d0a40.tar.gz glibc-cf44e2dd737fb0e6e75d68bc82df84de657d0a40.tar.bz2 |
Update.
2001-08-24 Ulrich Drepper <drepper@redhat.com>
* elf/rtld.c (print_statistics): Printf % after percent values.
* elf/dl-misc.c (_dl_debug_vdprintf): Implement %%.
* elf/dl-lookup.c (_dl_lookup_symbol): If we use the cache we
don't have to compute the hash value and initialize current_value.
Move reference_name variable to where it is needed.
(_dl_lookup_versioned_symbol): Likewise.
Diffstat (limited to 'elf')
-rw-r--r-- | elf/dl-misc.c | 6 | ||||
-rw-r--r-- | elf/rtld.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/elf/dl-misc.c b/elf/dl-misc.c index f4b7398..f1abfb7 100644 --- a/elf/dl-misc.c +++ b/elf/dl-misc.c @@ -211,6 +211,12 @@ _dl_debug_vdprintf (int fd, int tag_p, const char *fmt, va_list arg) ++niov; break; + case '%': + iov[niov].iov_base = (void *) fmt; + iov[niov].iov_len = 1; + ++niov; + break; + default: assert (! "invalid format specifier"); } @@ -1520,7 +1520,7 @@ print_statistics (void) *wp++ = *cp++; } *wp = '\0'; - _dl_debug_printf (" time needed for relocation: %s (%s)\n", + _dl_debug_printf (" time needed for relocation: %s (%s%%)\n", buf, pbuf); } #endif @@ -1549,7 +1549,7 @@ print_statistics (void) *wp++ = *cp++; } *wp = '\0'; - _dl_debug_printf (" time needed to load objects: %s (%s)\n", + _dl_debug_printf (" time needed to load objects: %s (%s%%)\n", buf, pbuf); } #endif |