From 9a51759bdf68392631f2c3571fc2aeb0e77bd07f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 24 Feb 1999 09:40:04 +0000 Subject: Update. 1999-02-23 Andreas Schwab * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a non-checked heap is restored when malloc checking was requested by the user. (struct malloc_state): Add using_malloc_checking. (MALLOC_STATE_VERSION): Increment minor. (using_malloc_checking, disallow_malloc_check): New variables. (__malloc_check_init): Use them. (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so that it can the chunk is properly instrumented when malloc checking is enabled. Set the new using_malloc_checking field. (malloc_hook_ini): Correct signature when _LIBC is not defined. 1999-02-23 Andreas Schwab * sysdeps/unix/sysv/linux/i386/dl-librecon.h (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second time. * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main. Don't call elf_get_dynamic_info and _dl_setup_hash a second time if ld.so is the main program. * stdio-common/vfprintf.c (vfprintf): If precision or width is too --- sysdeps/unix/sysv/linux/i386/dl-librecon.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sysdeps/unix/sysv/linux') diff --git a/sysdeps/unix/sysv/linux/i386/dl-librecon.h b/sysdeps/unix/sysv/linux/i386/dl-librecon.h index 4ae2e87a7b..84b4396285 100644 --- a/sysdeps/unix/sysv/linux/i386/dl-librecon.h +++ b/sysdeps/unix/sysv/linux/i386/dl-librecon.h @@ -33,8 +33,7 @@ const ElfW(Dyn) *d; \ const char *strtab; \ \ - strtab = ((void *) _dl_loaded->l_addr \ - + _dl_loaded->l_info[DT_STRTAB]->d_un.d_ptr); \ + strtab = (const char *) _dl_loaded->l_info[DT_STRTAB]->d_un.d_ptr; \ \ for (d = _dl_loaded->l_ld; d->d_tag != DT_NULL; ++d) \ if (d->d_tag == DT_NEEDED \ -- cgit 1.4.1