aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1999-02-24Update.Ulrich Drepper
1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * 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 <schwab@issan.cs.uni-dortmund.de> * 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
1999-02-23Update.Ulrich Drepper
1999-02-23 Ulrich Drepper <drepper@cygnus.com> * stdio-common/vfprintf.c (vfprintf): If precision or width if too large for work_buffer, allocate new buffer. (printf_unknown): Likewise. [PR libc/988]
1999-02-22Update.Ulrich Drepper
1999-02-22 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat instead of stat and fstat. * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1999-02-22Update.Ulrich Drepper
1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * elf/dl-error.c (_dl_signal_cerror): New function. (_dl_signal_error): Don't call receiver function. * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror instead of _dl_signal_error when reporting references to undefined symbols or versions. (_dl_lookup_versioned_symbol): Likewise. (_dl_lookup_versioned_symbol_skip): Likewise. * elf/dl-version.c (match_symbol): Likewise. * elf/ldsodefs.h: Declare _dl_signal_cerror. * misc/getttyent.c (getttyent): Release lock on stream later to also protect global variable zapchar.
1999-02-22Update.Ulrich Drepper
1999-02-22 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/clock.c: Don't test return value of __times [PR libc/990].
1999-02-22Update.Ulrich Drepper
1999-02-21 David S. Miller <davem@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix parentheses in Feb 2 changes. * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1999-02-21Update.Ulrich Drepper
1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/generic/glob.c (glob): Save previous errno.
1999-02-21Update.Ulrich Drepper
1999-02-21 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant lookup functions if it is too small.
1999-02-20Update.Ulrich Drepper
* elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created for tracing to the scope lists. * elf/do-lookup.h: Remove test for l_opencount == 0 after above change. DT_SYMTAB is always available according to ELF spec.
1999-02-20Update.Ulrich Drepper
* elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup call test whether there is any scope left. (_dl_lookup_versioned_symbol_skip): Likewise.
1999-02-20Update.Ulrich Drepper
* elf/Makefile (distribute): Add do-lookup.h. * elf/do-lookup.h: New file. Split out from dl-lookup.c. * elf/dl-lookup.c: Move do_lookup function in separate file and include the file twice, for handling versioning and without it.
1999-02-20Update.Ulrich Drepper
* sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT entry is already relocated. * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise. * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise. * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): Likewise. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup): Likewise. * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup): Likewise. * sysdeps/mips/mips64/dl-machine.h: Likewise.
1999-02-20Update.Ulrich Drepper
* elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL, DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry. (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether rel and rela relocations can both happen and skip one test if this is not possible. (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC appropriately. * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are already relocated. * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already relocated. * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated. (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument. (_dl_map_object): DT_STRTAB entry is already relocated. * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are already relocated. * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already relocated. * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and DT_VERSYM entries are already relocated. (profile_fixup): Likewise. * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace all users. (match_symbol): DT_STRTAB entry is already relocated. (_dl_check_map_versions): Likewise. Also fo DT_VERSYM. * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated. * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info. (find_needed): DT_STRTAB entry is already relocated. (dl_main): Pass extra argument to elf_get_dynamic_info. DT_STRTAB entry is already relocated. * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and DT_PLTGOT entries are already relocated. (elf_machine_rela): Likewise for DT_SYMTAB. * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already relocated. * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise. * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise. (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB. * grp/initgroups.c (initgroups): If function in current module was successful don't stop but continue to process to get all the groups.
1999-02-20Update.Ulrich Drepper
* elf/dl-load.c (_dl_map_object_from_fd): Use global _dl_pf_to_proot array to convert p_flags value. * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1999-02-20Update.Ulrich Drepper
1999-02-20 Ulrich Drepper <drepper@cygnus.com> * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of loop to clear `info'. * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc do the work and don't use inline assembler.
1999-02-19Update.Ulrich Drepper
1999-02-19 Ulrich Drepper <drepper@cygnus.com> * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__. * elf/dl-load.c (lose): Make it a function at the toplevel, mark as noreturn, and prevent it from being inlined. Define LOSE appropriately. (_dl_map_object_from_fd): Compare all bytes in e_ident at once. Optimize decoding of p_flags for certain platforms.
1999-02-19Update.Ulrich Drepper
1999-02-19 Philip Blundell <pb@nexus.co.uk> * Makeconfig (link-libc): When doing a static link, make sure that libgcc.a is included both before and after libc.a.
1999-02-19Update.Ulrich Drepper
1999-02-18 Thorsten Kukuk <kukuk@suse.de> * nis/nss_compat/compat-spwd.c: Fix handling of default values for sp_warn, sp_inact, sp_expire and sp_flag.
1999-02-19Update.Ulrich Drepper
* elf/link.h (link_map): Add l_dev and l_ino. * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly loaded shared object with all laoded objects. Initialize l_ino and l_dev in case it's new. * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main object. * elf/Makefile: Compile and run new test. * elf/multiload.c: New file.
1999-02-18Update.Ulrich Drepper
* nss/nsswitch.h (service_user): Change name field from const char * to char[0]. (name_database_entry): Likewise. * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation for change of `service_user'. (nss_getline): Adjust memory allocation for change of `name_database_entry'.
1999-02-18Update.Ulrich Drepper
* catgets/catgets.c: Correctly handle NLSPATH from environment [PR libc/980].
1999-02-18Update.Ulrich Drepper
1999-02-18 Ulrich Drepper <drepper@cygnus.com> * io/Makefile (routines): Add lock64. * io/Versions: Add lockf64 for GLIBC_2.1.1. * sysdeps/generic/lockf64.c: New file.
1999-02-16Update.Ulrich Drepper
1999-02-16 Ulrich Drepper <drepper@cygnus.com> * string/bits/string2.h: Only use strncmp optimization if count argument is constant.
1999-02-16Only use strncmp optimization if count argument is constant.Ulrich Drepper
1999-02-161999-02-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* sysdeps/mach/hurd/revoke.c: New file.
1999-02-161999-02-16 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath
* sysdeps/mach/hurd/revoke.c: New file.
1999-02-16(Running make install): Remove reference to nscd/README.Ulrich Drepper
1999-02-16Update.Ulrich Drepper
1999-02-16 Ulrich Drepper <drepper@cygnus.com> * wctype/wctype.h (_ISwbit): Cast result of shift operations to int to avoid warning about `ISO C restricts enumerator values to range of `int''.
1999-02-16Update.Ulrich Drepper
1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de> * elf/dlfcn.h: Fix typo. * sysdeps/generic/bits/dlfcn.h: Likewise. * sysdeps/mips/bits/dlfcn.h: Likewise.
1999-02-16Update.Ulrich Drepper
* sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags for the case N == 0. * db2/Makefile (distribute): Add LICENSE.
1999-02-16Update.Ulrich Drepper
1999-02-16 Ulrich Drepper <drepper@cygnus.com> * db2/Makefile: Update.
1999-02-16Update.Ulrich Drepper
1999-02-03 Jeff Bailey <jbailey@nisa.net> * sysdeps/unix/make_errlist.c: Add i18n and copyright to generated files. * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
1999-02-16Update.Ulrich Drepper
* time/mktime.c: Use ISO C form for function definitions and remove unnecessary prototypes.
1999-02-16Update.Ulrich Drepper
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
1999-02-16Update.Ulrich Drepper
1999-02-16 Ulrich Drepper <drepper@cygnus.com> * time/time.h: Avoid unneccesary #ifdef.
1999-02-16Update.Ulrich Drepper
1999-02-15 Geoff Keating <geoffk@ozemail.com.au> * stdio-common/_itoa.c (_itoa): Correct parameters to udiv_qrnnd_preinv. 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> * misc/sys/cdefs.h: Undefine __PMT since it might be defined before (e.g. in glob.h). Closes PR libc/959. 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/mips/fpu_control.h: Fix typo. Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>. Remove __setfpucw.
1999-02-16Fix typo. Remove __setfpucw.Ulrich Drepper
1999-02-151999-02-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on the "unused" ends of the sockets. Let pipes be bidirectional.
1999-02-151999-02-10 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath
* sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on the "unused" ends of the sockets. Let pipes be bidirectional.
1999-02-15Update.Ulrich Drepper
1999-02-15 Ulrich Drepper <drepper@cygnus.com> * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for invalid ai_flags.
1999-02-15Update.Ulrich Drepper
1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969]. * manual/setjmp.texi (Non-Local Exits and Signals): Fix typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
1999-02-15Update.Ulrich Drepper
1999-02-15 Ulrich Drepper <drepper@cygnus.com> * string/Versions: Add __strverscmp to GLIBC_2.1.1.
1999-02-14Update.Ulrich Drepper
1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * misc/syslog.c (vsyslog): Remember errno for %m format. Fix check for priority mask.
1999-02-14Update.Ulrich Drepper
1999-02-14 Ulrich Drepper <drepper@cygnus.com> * resolv/netdb.h (AI_NUMERICHOST): Change to 4. Reported by Craig Metz <cmetz@inner.net> .
1999-02-14Update.Ulrich Drepper
1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> * stdio-common/Makefile (tests): tllformat added. * stdio-common/tllformat.c: New program, based on tiformat.c with examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>. 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * posix/test-vfork.c: Fix exit status test. 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964]. 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1999-02-14(__libc_sa_len): Add some missing cases.Ulrich Drepper
1999-02-13* sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead Andreas Schwab
of separare explicit comparisons. Sun Feb 14 01:49:29 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead of separare explicit comparisons.
1999-02-11Update.Ulrich Drepper
1999-02-11Fix typos.Ulrich Drepper
* locales/in_ID: New file.
1999-02-11Update.Ulrich Drepper
1999-02-11 Ulrich Drepper <drepper@cygnus.com> * localedata/locale/in_ID: New file. 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet defined. * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet defined.