From cf44e2dd737fb0e6e75d68bc82df84de657d0a40 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 25 Aug 2001 06:33:07 +0000 Subject: Update. 2001-08-24 Ulrich Drepper * 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. --- elf/dl-misc.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'elf/dl-misc.c') diff --git a/elf/dl-misc.c b/elf/dl-misc.c index f4b73989af..f1abfb7f29 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"); } -- cgit v1.2.3