aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-08-29Update.Ulrich Drepper1-0/+5
2001-08-29 Ulrich Drepper <drepper@redhat.com> * po/sv.po: Update from translation team. * po/fr.po: Likewise.
2001-08-29Fix typo.Andreas Jaeger2-1/+5
2001-08-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl> * Makerules: Fix a typo: MD% -> MD5.
2001-08-28Update.Ulrich Drepper1-0/+5
2001-08-28 Ulrich Drepper <drepper@redhat.com> * sunrpc/rpc_hout.c (pargdef): Function must take pointer to object. Patch by Patrick Duval <Patrick.Duval@devinci.fr>.
2001-08-28(pargdef): Function must take pointer to object.Ulrich Drepper1-1/+1
2001-08-28Update.Andreas Jaeger1-0/+20
2001-08-28 Andreas Jaeger <aj@suse.de> * manual/libc-texinfo.sh: Add entry about free manuals. * manual/contrib.texi (Contributors): Fix cross reference. * manual/libc.texinfo (Copying): Include freemanuals. * manual/Makefile (appendices): Add freemanuals. * manual/freemanuals.texi: New file. Patch by Brian Youmans <3diff@gnu.org>. * manual/libm-err-tab.pl: Pretty print more platforms, print a smaller table. * manual/math.texi (Errors in Math Functions): Fix grammar, start table on separate page. Patch by Brian Youmans <3diff@gnu.org>.
2001-08-28* manual/libc-texinfo.sh: Add entry about free manuals.Andreas Jaeger7-24/+157
* manual/contrib.texi (Contributors): Fix cross reference. * manual/libc.texinfo (Copying): Include freemanuals. * manual/Makefile (appendices): Add freemanuals. * manual/freemanuals.texi: New file. Patch by Brian Youmans <3diff@gnu.org>. * manual/libm-err-tab.pl: Pretty print more platforms, print a smaller table. * manual/math.texi (Errors in Math Functions): Fix grammar, start table on separate page. Patch by Brian Youmans <3diff@gnu.org>.
2001-08-28Update.Ulrich Drepper7-15/+59
2001-08-27 Ulrich Drepper <drepper@redhat.com> * misc/syslog.c (vsyslog): Try a bit harder to use syslogd. If the connection went down after we first used it try to connect again and resend the message before printing to the console. Reported by Coserea Gh. Tudor <tudore@tudore.gecadsoftware.com>. 2001-08-27 Jakub Jelinek <jakub@redhat.com> * string/tst-strlen.c (main): Test strnlen (, -1) too. * sysdeps/generic/strnlen.c (__strnlen): Fix for maxlens with top bit set. 2001-08-27 Ulrich Drepper <drepper@redhat.com> * iconv/strtab.c (searchstring): Use correct length for comparison. (strtabadd): Account total size correct if new string has old string as substring.
2001-08-27Update.Ulrich Drepper1-0/+4
2001-08-27 Jakub Jelinek <jakub@redhat.com> * elf/rtld.c (dl_main): Update call to _dl_lookup_symbol.
2001-08-27(dl_main): Update call to _dl_lookup_symbol.Ulrich Drepper1-1/+1
2001-08-27Update.Andreas Jaeger1-0/+9
2001-08-27 Andreas Jaeger <aj@suse.de> * sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests. * math/libm-test.inc (j0_test): Add extra tests. * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Use |x|, not x, in Hankel approximation. Patches by Stephen L Moshier.
2001-08-27* sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests.Andreas Jaeger3-4/+23
* math/libm-test.inc (j0_test): Add extra tests. * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Use |x|, not x, in Hankel approximation. Patches by Stephen L Moshier.
2001-08-27Update.Ulrich Drepper2-1/+6
2001-08-26 Jakub Jelinek <jakub@redhat.com> * sysdeps/pthread/bits/libc-lock.h (__libc_lock_t): Define non-opaque lock types also if _IO_MTSAFE_IO is defined.
2001-08-27Update.Ulrich Drepper2-1/+7
* sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct link_map.
2001-08-27Update.Ulrich Drepper3-51/+67
* configure.in: Fix test for .rela.dyn section.
2001-08-27Update.Ulrich Drepper2-5/+9
2001-08-26 Ulrich Drepper <drepper@redhat.com> * elf/dl-runtime.c: Update calls to _dl_lookup_*.
2001-08-26Update.Ulrich Drepper21-151/+186
2001-08-26 Jakub Jelinek <jakub@redhat.com> * elf/dl-reloc.c (RESOLVE_MAP, RESOLVE): Use elf_machine_type_class instead of elf_machine_lookup_noexec_p and elf_machine_lookup_noplt_p. Pass type_class to _dl_lookup_*. * elf/dl-lookup.c (_dl_lookup_symbol): Take type_clas parameter now. Pass around just type_class instead of noexec, noplt pair. (_dl_lookup_versioned_symbol): Likewise. (_dl_lookup_symbol_skip): Pass around just type_class instead of noexec, noplt pair. (_dl_lookup_versioned_symbol_skip): Likewise. (_dl_do_lookup, _dl_do_lookup_versioned): Likewise. * elf/do-lookup.h (do_lookup): Likewise. * include/link.h (struct link_map): Replace noexec and noplt fields in l_lookup_cache with type_class field. * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_PLT, ELF_RTYPE_CLASS_COPY): Define. Adjust prototypes for _dl_lookup_symbol and _dl_lookup_versioned_symbol. * sysdeps/alpha/dl-machine.h (elf_machine_lookup_noplt_p, elf_machine_lookup_noexec_p): Remove. (elf_machine_type_class): Define. * sysdeps/arm/dl-machine.h: Likewise. * sysdeps/hppa/dl-machine.h: Likewise. * sysdeps/cris/dl-machine.h: Likewise. * sysdeps/i386/dl-machine.h: Likewise. * sysdeps/ia64/dl-machine.h: Likewise. * sysdeps/m68k/dl-machine.h: Likewise. * sysdeps/mips/mips64/dl-machine.h: Likewise. * sysdeps/mips/dl-machine.h: Likewise. * sysdeps/powerpc/dl-machine.h: Likewise. * sysdeps/sparc/sparc32/dl-machine.h: Likewise. * sysdeps/sparc/sparc64/dl-machine.h: Likewise. * sysdeps/sh/dl-machine.h: Likewise. * sysdeps/s390/s390-32/dl-machine.h: Likewise. * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2001-08-26Update.Ulrich Drepper4-5/+34
* manual/message.texi (Advanced gettext functions): Change description of plural forms for Slovak. Reported by Marcel Telka <marcel@telka.sk>. * manuaL/time.texi (Low-Level Time String Parsing): Fix description of %z. Reported by C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>. 2001-08-26 Jakub Jelinek <jakub@redhat.com> * sysdeps/s390/s390-32/dl-machine.h (elf_machine_lazy_rel): Fix a typo. Patch by Florian La Roche <laroche@redhat.com>. 2001-08-26 Ulrich Drepper <drepper@redhat.com>
2001-08-26Update.Ulrich Drepper6-107/+83
* include/link.h (struct link_map): Add l_lookup_cache element. * elf/dl-reloc.c (RESOLVE): Add symbol caching here. (RESOLVE_MAP): Likewise. (_dl_relocate_object): Remove cache initialization. * elf/dl-lookup.c: Rip out cache handling code. * sysdeps/generic/ldsodefs.h: Remove lookup_cache struct and variable declarations. * elf/dl-lookup.c (_dl_lookup_symbol): Reorder some conditions and remove some __builtin_expect. (_dl_lookup_versioned_symbol): Likewise. R_386_RELATIVE handling for ld.so startup. Reduce RTLD_BOOTSTRAP case to almost no code.
2001-08-26Update.Ulrich Drepper5-57/+110
2001-08-26 Ulrich Drepper <drepper@redhat.com> * config.h.in: Add HAVE_Z_COMBRELOC. * configure.in: Add test for -z combreloc. * sysdeps/i386/dl-machine.h (elf_machine_rel): Minor cleanups and optimizations. Use HAVE_Z_COMBRELOC to avoid generaton of R_386_RELATIVE handling for ld.so startup.
2001-08-26Update.Ulrich Drepper3-4/+8
* sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela_relative): Likewise. * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela_relative): Likewise.
2001-08-25Update.Ulrich Drepper1-0/+4
2001-08-25 Ulrich Drepper <drepper@redhat.com> * po/tr.po: Update from translation team.
2001-08-25Update from translation team.Ulrich Drepper1-707/+792
2001-08-25Update.Andreas Jaeger1-0/+5
2001-08-24 Andreas Jaeger <aj@suse.de> * iconv/Makefile (extra-objs): Add iconvconfig-modules so that make clean works.
2001-08-25(extra-objs): Add iconvconfig-modules so that make clean works.Andreas Jaeger1-1/+1
2001-08-25Update.Ulrich Drepper3-2/+18
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.
2001-08-25(_dl_lookup_symbol): If we use the cache we don't have to compute the hash ↵Ulrich Drepper1-26/+48
value and initialize current_value. Move reference_name variable to where it is needed. (_dl_lookup_versioned_symbol): Likewise.
2001-08-24* string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr.Roland McGrath2-4/+8
Just test that strerror returns non-null for a few errno codes.
2001-08-24* hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal,Roland McGrath3-1/+16
_hurdsig_interrupt_timeout, _hurdsig_fault_preemptor. * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink. * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy, __mach_reply_port.
2001-08-242001-08-23 Roland McGrath <roland@frob.com>Roland McGrath1-0/+4
* mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy, __mach_reply_port.
2001-08-24Update.Ulrich Drepper2-3/+9
* nss/test-netdb.c (test_hosts): Don't segfault if gethostname returns NULL.
2001-08-24Update.Ulrich Drepper3-0/+4
* elf/rtld.c: Include <sys/param.h>. * elf/dl-reloc.c: Likewise.
2001-08-24Update.Ulrich Drepper1-5/+6
2001-08-24 Ulrich Drepper <drepper@redhat.com> * elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so startup. Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc doesn't do it.
2001-08-24(elf_dynamic_do_rel): Fix problem with ld.so startup. Explicitly remove lazy ↵Ulrich Drepper1-5/+6
part for RTLD_BOOTSTRAP since gcc doesn't do it.
2001-08-24Update.Andreas Jaeger1-0/+6
2001-08-24 Maciej W. Rozycki <macro@ds2.pg.gda.pl> * sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to empty to prevent junk from being generated. * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2001-08-242001-08-24 Maciej W. Rozycki macro@ds2.pg.gda.plAndreas Jaeger2-1/+1
* sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to empty to prevent junk from being generated. sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2001-08-24Update.Ulrich Drepper2-4/+27
* elf/do-rel.h (elf_dynamic_do_rel) [RTLD_BOOTSTRAP]: Disable use of RELCOUNT for now until we know what is wrong with it. 2001-08-24 Jakub Jelinek <jakub@redhat.com> * elf/do-rel.h (elf_dynamic_do_rel): If l_addr is 0, skip relative records. Rename endrel to relative, initialize it to r, and use it in elf_machine_rel_relative calls. Point r after relative relocs. 2001-08-24 Ulrich Drepper <drepper@redhat.com>
2001-08-24Update.Ulrich Drepper2-1/+6
2001-08-24 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction of R_386_NONE.
2001-08-24Update.Ulrich Drepper13-29/+66
2001-08-24 Jakub Jelinek <jakub@redhat.com> * elf/do-rel.h (elf_machine_rel_relative): Define for rela if necessary. Undefine newly defined macros at the end. * sysdeps/hppa/dl-machine.h (elf_machine_rela_relative): Rename from elf_machine_rel_relative. * sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise. * sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise. * sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise. * sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise. Fix argument types. * sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise. Fix argument types. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative): Likewise. Fix argument types. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative): Likewise. Fix argument types. * sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise. Fix argument types. * sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use ElfW(Rel) in argument. * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New function.
2001-08-24Update.Ulrich Drepper2-1/+8
2001-08-24 Alexandre Oliva <aoliva@redhat.com> * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix typo. * elf/do-rel.h (elf_dynamic_do_rel): RELATIVE relocations comes first if RELCOUNT is set.
2001-08-24(elf_dynamic_do_rel): RELATIVE relocations comes first if RELCOUNT is set.Ulrich Drepper1-16/+15
2001-08-24Update.Andreas Jaeger1-0/+5
2001-08-24 Andreas Jaeger <aj@suse.de> * sysdeps/ieee754/ldbl-128/e_j1l.c: New file, contributed by Stephen L Moshier <moshier@mediaone.net>.
2001-08-24j1l/y1l implementation.Andreas Jaeger1-0/+918
2001-08-24Update.Ulrich Drepper15-110/+257
2001-08-24 Ulrich Drepper <drepper@redhat.com> * elf/do-rel.h (elf_dynamic_do_rel): If not relocating lazily, don't call elf_machine_rel for the last DT_RELCOUNT relocations but instead elf_machine_rel_relative. * sysdeps/alpha/dl-machine.h: Define elf_machine_rel_relative. Minor optimizations. * sysdeps/arm/dl-machine.h: Likewise. * sysdeps/cris/dl-machine.h: Likewise. * sysdeps/hppa/dl-machine.h: Likewise. * sysdeps/i386/dl-machine.h: Likewise. * sysdeps/ia64/dl-machine.h: Likewise. * sysdeps/m68k/dl-machine.h: Likewise. * sysdeps/mips/dl-machine.h: Likewise. * sysdeps/powerpc/dl-machine.h: Likewise. * sysdeps/s390/s390-32/dl-machine.h: Likewise. * sysdeps/s390/s390-64/dl-machine.h: Likewise. * sysdeps/sh/dl-machine.h: Likewise. * sysdeps/sparc/sparc32/dl-machine.h: Likewise. * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2001-08-24(elf_dynamic_do_rel): If not relocating lazily, don't call elf_machine_rel ↵Ulrich Drepper1-4/+25
for the last DT_RELCOUNT relocations but instead elf_machine_rel_relative.
2001-08-24* rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1.Roland McGrath2-0/+6
2001-08-24* sysdeps/generic/bits/libc-lock.h: Same changes.Roland McGrath6-63/+46
2001-08-24* sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied fromRoland McGrath7-76/+222
sysdeps/mach version. Implement counting ("recursive") mutexes on top of cthreads mutexes. * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works. * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error. (__libc_cleanup_region_start, __libc_cleanup_region_end, __libc_clean_end): Define these to call the cleanup function after normal exit when they're supposed to. * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Take new first arg DOIT, a boolean saying whether to really install any cleanup handler. (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero. (__libc_cleanup_end): Likewise. * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg. * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise. * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start): Likewise. * misc/syslog.c (vsyslog, openlog, closelog): Likewise. * sysdeps/generic/bits/stdio-lock.h (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise.
2001-08-242001-08-23 Roland McGrath <roland@frob.com>Roland McGrath2-12/+18
* sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error. (__libc_cleanup_region_start, __libc_cleanup_region_end, __libc_clean_end): Define these to call the cleanup function after normal exit when they're supposed to. * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Take new first arg DOIT, a boolean saying whether to really install any cleanup handler. (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero. (__libc_cleanup_end): Likewise. * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg. * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise. * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start): Likewise. * misc/syslog.c (vsyslog, openlog, closelog): Likewise. * sysdeps/generic/bits/stdio-lock.h (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise.
2001-08-23(print_statistics): Nicer format for cache hit output.Ulrich Drepper1-1/+1
2001-08-23Update.Ulrich Drepper9-91/+202
2001-08-23 Jakub Jelinek <jakub@redhat.com> * elf/ldconfig.c (search_dir): Remove stale symlinks. 2001-08-23 Jakub Jelinek <jakub@redhat.com> * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New. (_dl_lookup_symbol): Lookup relocations in cache and store successfull lookups in cache. (_dl_lookup_versioned_symbol): Likewise. * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for relocation lookup. * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations. * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition. (lookup_cache, lookup_cache_versioned): Add declarations. 2001-08-23 Ulrich Drepper <drepper@redhat.com> * stdlib/tst-random.c (main): Swap parameters in fail call. Patch by Pete Bevin <pete@petebevin.com>. 2001-08-23 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t. * malloc/obstack.c: Indent preprocessor directives. Patch by Jim Meyering <meyering@ascend.com>.