diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-02-28 06:36:10 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-02-28 06:36:10 +0000 |
commit | 35fc382add7924e79b9dc706125593c14905a425 (patch) | |
tree | 27113d65c9c5c9bd74cdce1499d9773a0cad6e9a /elf/dl-close.c | |
parent | b5ba065963d94ad0ee124aa7e8203f39feda9ee9 (diff) | |
download | glibc-35fc382add7924e79b9dc706125593c14905a425.tar.gz glibc-35fc382add7924e79b9dc706125593c14905a425.tar.xz glibc-35fc382add7924e79b9dc706125593c14905a425.zip |
Update.
* sysdeps/arm/dl-machine.h: Likewise. * sysdeps/hppa/dl-machine.h: Likewise. * sysdeps/m68k/dl-machine.h: Likewise. * sysdeps/powerpc/dl-machine.h: Likewise. * sysdeps/s390/dl-machine.h: Likewise. * sysdeps/sh/dl-machine.h: Likewise.
Diffstat (limited to 'elf/dl-close.c')
-rw-r--r-- | elf/dl-close.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/elf/dl-close.c b/elf/dl-close.c index 723a9702fd..7dce7d0f48 100644 --- a/elf/dl-close.c +++ b/elf/dl-close.c @@ -27,8 +27,6 @@ #include <sys/types.h> #include <sys/mman.h> -#include <stdio-common/_itoa.h> - /* Type of the constructor functions. */ typedef void (*fini_t) (void); @@ -76,11 +74,8 @@ _dl_close (void *_map) buf[sizeof buf - 1] = '\0'; - _dl_debug_message (1, "\nclosing file=", map->l_name, - "; opencount == ", - _itoa_word (map->l_opencount, - buf + sizeof buf - 1, 10, 0), - "\n", NULL); + _dl_debug_printf ("\nclosing file=%s; opencount == %u\n", + map->l_name, map->l_opencount); } /* One decrement the object itself, not the dependencies. */ @@ -134,10 +129,8 @@ _dl_close (void *_map) && imap->l_init_called) { /* When debugging print a message first. */ - if (//__builtin_expect (_dl_debug_impcalls, 0)) - __builtin_expect (_dl_debug_mask & DL_DEBUG_IMPCALLS, 0)) - _dl_debug_message (1, "\ncalling fini: ", imap->l_name, - "\n\n", NULL); + if (__builtin_expect (_dl_debug_mask & DL_DEBUG_IMPCALLS, 0)) + _dl_debug_printf ("\ncalling fini: %s\n\n", imap->l_name); /* Call its termination function. */ if (imap->l_info[DT_FINI_ARRAY] != NULL) |