about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2001-09-0810-96/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-08 Ulrich Drepper <drepper@redhat.com> * elf/dl-close.c (_dl_close): If object has no r_list (i.e., wasn't loaded directly) determine length if l_initfini list by iterating over its elements. Minor optimizations. * elf/dl-deps.c (_dl_map_object_deps): Always add own map to l_initfini for dependency objects. If object was already loaded check whether any of the dependencies is already on the relocation dependency list. If yes, remove the latter. Minor optimizations. * elf/dl-lookup.c (add_dependency): Add check for self reference of maps here. Search l_initfini list only if the object was loaded directly and not only as a dependency. (_dl_lookup_symbol): Add relocation dependency also if object is not in global scope. Remove test for self-reference here. (_dl_lookup_versioned_symbol): Likewise. * elf/dl-object (_dl_new_object): Cleanup. Initialize dont_free element of first name record. * elf/loadtest.c: Add some more test to recognize early if an object wasn't unloaded. * elf/Makefile: Add rules to build and run reldep5. * elf/reldep5.c: New file. * elf/reldepmod5.c: New file. * elf/reldepmod6.c: New file. * elf/reldep2.c: Fix typo. * elf/dl-object.c (_dl_new_object): Initialize l_scope and l_scope_max.
* Update.Ulrich Drepper2001-09-075-3/+89
| | | | | | | | | | | | | 2001-09-07 Ulrich Drepper <drepper@redhat.com> * include/link.h (struct link_map): Add l_scope_mem and l_scope_max elements. Change l_scope to be a pointer only. * elf/dl-object.c (_dl_new_ojbect): Initialize l_scope and l_scope_max. * elf/dl-open.c (dl_open_worker): If dependency wasn't just opened here add searchlist of newly open file to the dependency's scope. * elf/dl-close.c (_dl_close): If dependency is used otherwise remove only searchlist from its scope. Free own scope array if necessary. * elf/Makefile (tests): Add dblload and dblunload now.
* (struct link_map): Add l_scope_mem and l_scope_max elements. Change l_scope ↵Ulrich Drepper2001-09-071-1/+5
| | | | to be a pointer only.
* Update.Andreas Jaeger2001-09-061-0/+5
| | | | | | | 2001-09-06 Andreas Jaeger <aj@suse.de> * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: New file, contributed Stephen L Moshier.
* 128 bit long double lgamma implementation.Andreas Jaeger2001-09-061-0/+1018
|
* Update.Ulrich Drepper2001-09-067-4/+157
| | | | | | | | | | | | 2001-09-05 Ulrich Drepper <drepper@redhat.com> * elf/Makefile: Add rules to build new tests. Don't run them yet since they both fail. * elf/dblload.c: New file. * elf/dblloadmod1.c: New file. * elf/dblloadmod2.c: New file. * elf/dblloadmod3.c: New file. * elf/dblunload.c: New file.
* Update.Ulrich Drepper2001-09-052-12/+8
| | | | | | | 2001-09-04 Richard Henderson <rth@redhat.com> * elf/elf.h (R_ALPHA_OP_*, R_ALPHA_IMMED_*): Remove. (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
* Update.Ulrich Drepper2001-09-0512-50/+80
| | | | | | | | | | | | | | | | | | | 2001-09-04 Ulrich Drepper <drepper@redhat.com> Correct very misleading message for error in failed runtime relocation. * elf/dl-error.c (_dl_signal_error): Take extra parameter to describe place of the error. (_dl_signal_cerror): Likewise. * sysdeps/generic/ldsodefs.h: Adjust prototypes. * elf/dl-close.c: Likewise. * elf/dl-deps.c: Likewise. * elf/dl-load.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/dl-open.c: Likewise. * elf/dl-reloc.c: Likewise. * elf/dl-sym.c: Likewise. * elf/dl-version.c: Likewise. * sysdeps/generic/dl-sysdep.c: Likewise.
* Update.Ulrich Drepper2001-09-054-6/+53
| | | | | | | | | | | | | | | | | | | 2001-09-04 Jakub Jelinek <jakub@redhat.com> * iconv/strtab.c (strtabinit): Initialize null Strent. (newstring): Move len == 0 handling... (strtabadd): ...here. If len == 1, return null Strent. When inserting a suffix of an existing string, check if it is not equal to some suffix already recorded. Copy left and right members over if adding longer string. 2001-09-04 Jakub Jelinek <jakub@redhat.com> * sunrpc/rpc_cout.c (upcase): Account for trailing '\0'. * sysdeps/unix/sysv/linux/alpha/gethostname.c: Include <errno.h>. (__syscall_gethostname): Add prototype.
* Update.Ulrich Drepper2001-09-043-4/+54
| | | | | | 2001-09-04 Ulrich Drepper <drepper@redhat.com> * elf/dl-object.c (_dl_new_object): Remove unnecessary if.
* Update.Ulrich Drepper2001-09-021-0/+4
| | | | | | 2001-09-02 Ulrich Drepper <drepper@redhat.com> * elf/rtld.c (dl_main): Increment l_opencount for main binary.
* (dl_main): Increment l_opencount for main binary.Ulrich Drepper2001-09-021-0/+2
|
* * sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is tooRoland McGrath2001-09-011-0/+5
| | | | short, copy that much into NAME anyway before returning error.
* 2001-08-27 Roland McGrath <roland@frob.com>Roland McGrath2001-09-011-2/+2
| | | | | * sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too short, copy that much into NAME anyway before returning error.
* Update.Ulrich Drepper2001-09-019-193/+121
| | | | | | | | | | | | | | | | | | | | | 2001-09-01 Richard Henderson <rth@redhat.com> * sysdeps/alpha/elf/Dist: Remove file. * sysdeps/alpha/elf/Makefile: Remove file. * sysdeps/alpha/elf/crtbegin.S: Remove file. * sysdeps/alpha/elf/crtend.S: Remove file. * sysdeps/alpha/elf/initfini.c: New file. 2001-09-01 Mark Kettenis <kettenis@gnu.org> * iconv/tst-iconv1.c: Include <stddef.h> for wchar_t. * iconv/tst-iconv3.c: Likewise. 2001-09-01 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/inttypes.h (__gwchar_t): Define to wchar_t for C++. handle it like 'I' for symmetry with strftime.
* Update.Ulrich Drepper2001-09-014-29/+81
| | | | | | | | | | | 2001-09-01 Ulrich Drepper <drepper@redhat.com> * iconv/gconv_cache.c: Rename variable cache to __gconv_cache and export it. * iconv/Versions (libc) [GLIBC_2.2.5]: Export __gconv_cache. * iconv/iconv_prog.c (insert_cache): New function. (print_known_names): If cache is used call insert_cache to use the information from the cache [PR libc/2509].
* Update.Ulrich Drepper2001-09-013-0/+12
| | | | | | | 2001-08-31 Ulrich Drepper <drepper@redhat.com> * time/strptime.c (strptime_internal): Recognize 'l' format and handle it like 'I' for symmatry with strftime.
* Update.Ulrich Drepper2001-09-016-31/+162
| | | | | | | | | | | | | | | | | | | | | 2001-08-31 Richard Henderson <rth@redhat.com> * elf/dl-support.c (_dl_cpuclock_offset): Protect with NONAVAIL. (HP_TIMING_AVAIL): Set to HP_SMALL_TIMING_AVAIL if present. * elf/rtld.c (HP_TIMING_AVAIL): Likewise. (print_statistics): Make scalar unsigned long long. * sysdeps/alpha/hp-timing.h: New file. 2001-08-31 Jakub Jelinek <jakub@redhat.com> * stdio-common/perror.c (perror): Save errno early, pass it down to perror_internal. (perror_internal): Add errnum argument. 2001-08-31 Jakub Jelinek <jakub@redhat.com> * sysdeps/alpha/dl-machine.h (elf_machine_rela): Remove unused code. Don't add old memory content for R_ALPHA_REFQUAD.
* Update.Ulrich Drepper2001-08-312-4/+7
| | | | | * crypt/md5-crypt.c (__md5_crypt_r): Compute used and required memory correctly.
* Update.Ulrich Drepper2001-08-302-7/+11
| | | | | | | | | * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Use __open instead of open, __close instead of close, __getpagesize instead of getpagesize. R_ALPHA_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only check for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined.
* Update.Ulrich Drepper2001-08-305-6/+29
| | | | | | | | | | | | | 2001-08-30 Ulrich Drepper <drepper@redhat.com> * string/argz-stringify.c (__argz_stringify): Use __strnlen instead of strnlen. * include/string.h (strndupa): Redefine here to use __strnlen instead of strnlen. * string/strndup.c (__strndup): Use __strnlen not strnlen. * misc/syslog.c (vsyslog): Fix typo in last change (connect -> connected).
* Update.Ulrich Drepper2001-08-306-19/+35
| | | | | | | | | | | | 2001-08-30 Jakub Jelinek <jakub@redhat.com> * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle R_ALPHA_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only check for rtld map if RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined. * sysdeps/i386/dl-machine.h (elf_machine_rel): Similarly. * sysdeps/ia64/dl-machine.h (elf_machine_rel): Similarly. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rel): Similarly. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rel): Similarly.
* Update.Ulrich Drepper2001-08-302-0/+8
| | | | | | 2001-08-30 Ulrich Drepper <drepper@redhat.com> * sysdeps/alpha/fpu/libm-test-ulps: Adjust j0 ULPs.
* Adjust j0 ULPs.Ulrich Drepper2001-08-301-0/+6
|
* Update.Andreas Jaeger2001-08-301-0/+5
| | | | | | | 2001-08-30 Andreas Jaeger <aj@suse.de> * sysdeps/ieee754/ldbl-128/e_jnl.c: New file, contributed Stephen L Moshier.
* 128-bit long double Bessel functions jn and yn.Andreas Jaeger2001-08-301-0/+382
|
* Update.Ulrich Drepper2001-08-302-0/+5
| | | | | | 2001-08-30 Jakub Jelinek <jakub@redhat.com> * sunrpc/etc.rpc (sgi_fam): Add.
* Update.Ulrich Drepper2001-08-301-0/+4
| | | | | | 2001-08-30 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/alpha/gethostname.c: New file.
* Update.Ulrich Drepper2001-08-304-0/+25
| | | | | | | | | | | 2001-08-29 Ulrich Drepper <drepper@redhat.com> * spinlock.c (__pthread_lock): Top max_count value with MAX_ADAPTIVE_SPIN_COUNT. * internals.h (MAX_ADAPTIVE_SPIN_COUNT): Define if not already done. * sysdeps/i386/i686/pt-machine.h (BUSY_WAIT_NOP): New macro to help P4.
* Update.Ulrich Drepper2001-08-2910-729/+429
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-29 Ulrich Drepper <drepper@redhat.com> * nis/nis_findserv.c (__nis_findfastest): Don't fail if reply received first is from a previous call. Patch by Alexander Belopolsky <alexb@rentec.com> for [PR libc/3670]. 2001-08-29 Andreas Schwab <schwab@suse.de> * sysdeps/ia64/fpu/libm-test-ulps: Updated. 2001-08-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl> * config.make.in (INSTALL_SCRIPT): Define. * Makeconfig (INSTALL_SCRIPT): Define. * Makerules (do-install-script): New macro to install scripts using INSTALL_SCRIPT. (install-bin-script): New rule to install scripts with do-install-script. (install-bin-script-nosubdir): New rule. (install-no-libc.a-nosubdir): Add install-bin-script-nosubdir. (distinfo-vars): Add $(install-bin-script). * Rules (others): Likewise. * Makefile (glibcbug): Install with install-bin-script. * debug/Makefile (xtrace): Likewise. (catchsegv): Likewise. * elf/Makefile (ldd): Likewise. * malloc/Makefile (mtrace): Likewise. * timezone/Makefile (tzselect): Likewise. 2001-08-29 H.J. Lu <hjl@gnu.org> * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Pass ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to _dl_lookup_versioned_symbol () and _dl_lookup_symbol (). Add it to LDFLAGS.so, LDFLAGS-rtld, and +link.
* (INSTALL_SCRIPT): Define.Ulrich Drepper2001-08-292-0/+4
|
* * sysdeps/m68k/fpu/libm-test-ulps: Updated.Andreas Schwab2001-08-291-0/+4
|
* Updated.Andreas Schwab2001-08-291-53/+33
|
* (__dl_runtime_resolve): Pass ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, ↵Ulrich Drepper2001-08-291-2/+2
| | | | to _dl_lookup_versioned_symbol () and _dl_lookup_symbol ().
* Update.Ulrich Drepper2001-08-298-1470/+1831
| | | | | | | | | | | 2001-08-28 H.J. Lu <hjl@gnu.org> * Makeconfig (combreloc-LDFLAGS): New variable. Add it to LDFALGS.so, LDFLAGS-rtld, and +link. * config.make.in (have-z-combreloc): New variable. * configure.in: Substitute libc_cv_z_combreloc. * iconv/strtab.c (searchstring): Use correct length for comparison.
* Update.Ulrich Drepper2001-08-291-0/+1
| | | | * po/da.po: Likewise.
* Update.Ulrich Drepper2001-08-291-0/+5
| | | | | | | 2001-08-29 Ulrich Drepper <drepper@redhat.com> * po/sv.po: Update from translation team. * po/fr.po: Likewise.
* Fix typo.Andreas Jaeger2001-08-292-1/+5
| | | | | | 2001-08-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl> * Makerules: Fix a typo: MD% -> MD5.
* Update.Ulrich Drepper2001-08-281-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>.
* (pargdef): Function must take pointer to object.Ulrich Drepper2001-08-281-1/+1
|
* Update.Andreas Jaeger2001-08-281-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>.
* * manual/libc-texinfo.sh: Add entry about free manuals.Andreas Jaeger2001-08-287-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>.
* Update.Ulrich Drepper2001-08-287-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.
* Update.Ulrich Drepper2001-08-271-0/+4
| | | | | | 2001-08-27 Jakub Jelinek <jakub@redhat.com> * elf/rtld.c (dl_main): Update call to _dl_lookup_symbol.
* (dl_main): Update call to _dl_lookup_symbol.Ulrich Drepper2001-08-271-1/+1
|
* Update.Andreas Jaeger2001-08-271-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.
* * sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests.Andreas Jaeger2001-08-273-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.
* Update.Ulrich Drepper2001-08-272-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.
* Update.Ulrich Drepper2001-08-272-1/+7
| | | | | * sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct link_map.
* Update.Ulrich Drepper2001-08-273-51/+67
| | | | * configure.in: Fix test for .rela.dyn section.