about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2001-08-266-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.
* Update.Ulrich Drepper2001-08-265-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.
* Update.Ulrich Drepper2001-08-263-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.
* Update.Ulrich Drepper2001-08-251-0/+4
| | | | | | 2001-08-25 Ulrich Drepper <drepper@redhat.com> * po/tr.po: Update from translation team.
* Update from translation team.Ulrich Drepper2001-08-251-707/+792
|
* Update.Andreas Jaeger2001-08-251-0/+5
| | | | | | | 2001-08-24 Andreas Jaeger <aj@suse.de> * iconv/Makefile (extra-objs): Add iconvconfig-modules so that make clean works.
* (extra-objs): Add iconvconfig-modules so that make clean works.Andreas Jaeger2001-08-251-1/+1
|
* Update.Ulrich Drepper2001-08-253-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.
* (_dl_lookup_symbol): If we use the cache we don't have to compute the hash ↵Ulrich Drepper2001-08-251-26/+48
| | | | value and initialize current_value. Move reference_name variable to where it is needed. (_dl_lookup_versioned_symbol): Likewise.
* * string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr.Roland McGrath2001-08-242-4/+8
| | | | Just test that strerror returns non-null for a few errno codes.
* * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal,Roland McGrath2001-08-243-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-23 Roland McGrath <roland@frob.com>Roland McGrath2001-08-241-0/+4
| | | | | * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy, __mach_reply_port.
* Update.Ulrich Drepper2001-08-242-3/+9
| | | | | * nss/test-netdb.c (test_hosts): Don't segfault if gethostname returns NULL.
* Update.Ulrich Drepper2001-08-243-0/+4
| | | | | * elf/rtld.c: Include <sys/param.h>. * elf/dl-reloc.c: Likewise.
* Update.Ulrich Drepper2001-08-241-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.
* (elf_dynamic_do_rel): Fix problem with ld.so startup. Explicitly remove lazy ↵Ulrich Drepper2001-08-241-5/+6
| | | | part for RTLD_BOOTSTRAP since gcc doesn't do it.
* Update.Andreas Jaeger2001-08-241-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-24 Maciej W. Rozycki macro@ds2.pg.gda.plAndreas Jaeger2001-08-242-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.
* Update.Ulrich Drepper2001-08-242-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>
* Update.Ulrich Drepper2001-08-242-1/+6
| | | | | | | 2001-08-24 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction of R_386_NONE.
* Update.Ulrich Drepper2001-08-2413-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.
* Update.Ulrich Drepper2001-08-242-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.
* (elf_dynamic_do_rel): RELATIVE relocations comes first if RELCOUNT is set.Ulrich Drepper2001-08-241-16/+15
|
* Update.Andreas Jaeger2001-08-241-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>.
* j1l/y1l implementation.Andreas Jaeger2001-08-241-0/+918
|
* Update.Ulrich Drepper2001-08-2415-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.
* (elf_dynamic_do_rel): If not relocating lazily, don't call elf_machine_rel ↵Ulrich Drepper2001-08-241-4/+25
| | | | for the last DT_RELCOUNT relocations but instead elf_machine_rel_relative.
* * rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1.Roland McGrath2001-08-242-0/+6
|
* * sysdeps/generic/bits/libc-lock.h: Same changes.Roland McGrath2001-08-246-63/+46
|
* * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied fromRoland McGrath2001-08-247-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-23 Roland McGrath <roland@frob.com>Roland McGrath2001-08-242-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.
* (print_statistics): Nicer format for cache hit output.Ulrich Drepper2001-08-231-1/+1
|
* Update.Ulrich Drepper2001-08-239-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>.
* Update.Ulrich Drepper2001-08-231-0/+4
| | | | | | 2001-08-23 Ulrich Drepper <drepper@redhat.com> * po/ja.po: Update from translation team.
* Update from translation team.Ulrich Drepper2001-08-231-724/+785
|
* * libio/tst-ungetwc1.c (main): Add a const to quiet a warning.Roland McGrath2001-08-233-4/+17
| | | | | * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN. Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error.
* * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here withRoland McGrath2001-08-2313-72/+91
| | | | | | | | | | | | | | | | | | | __libc_lock_define_recursive. * elf/dl-open.c: Don't declare it here any more. * elf/dl-close.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/dl-iteratephdr.c: Likewise. * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and __libc_lock_unlock_recursive. * elf/dl-close.c (_dl_close): Likewise * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise * elf/dl-open.c (_dl_open): Likewise * sysdeps/generic/bits/libc-lock.h (__libc_lock_define_recursive): New macro. * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it. (_IO_lock_lock): Use __libc_lock_lock_recursive. (_IO_lock_unlock): Use __libc_lock_unlock_recursive.
* * conform/conformtest.pl (checknamespace): Sort the output list.Roland McGrath2001-08-234-13/+29
| | | | | | | | | | * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT. (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these definitions conditional on [__USE_XOPEN]. * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define these unconditionally, not only use [__USE_BSD], so as to match the sysdeps/unix/sysv/linux files.
* 2001-08-22 Roland McGrath <roland@frob.com>Roland McGrath2001-08-231-1/+2
| | | | * conform/conformtest.pl (checknamespace): Sort the output list.
* Update.Ulrich Drepper2001-08-232-1/+10
| | | | | | | | | | 2001-08-22 Ulrich Drepper <drepper@redhat.com> * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to avoid warnings. * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using DL_LOOKUP_ADDRESS.
* (do_test): Get address of ref1 using DL_LOOKUP_ADDRESS.Ulrich Drepper2001-08-231-2/+5
|
* * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix upRoland McGrath2001-08-231-0/+6
| | | | | conditionalization of sa_handler/sa_sigaction member types to match the sysdeps/unix/sysv/linux file.
* 2001-08-22 Roland McGrath <roland@frob.com>Roland McGrath2001-08-232-12/+28
| | | | | | * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up conditionalization of sa_handler/sa_sigaction member types to match the sysdeps/unix/sysv/linux file.
* Update.Ulrich Drepper2001-08-232-1/+5
| | | | | * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero symbol sizes a bit better.
* Update.Ulrich Drepper2001-08-232-63/+189
| | | | | * sysdeps/ia64/strncpy.S: Complete rewrite. Contributed by Jakub Jelinek <jakub@redhat.com>.
* Update.Ulrich Drepper2001-08-231-0/+4
| | | | | | 2001-08-22 Ulrich Drepper <drepper@redhat.com> * string/stratcliff.c (main): Add strncpy test.
* (main): Add strncpy test.Ulrich Drepper2001-08-231-1/+28
|
* * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>,Roland McGrath2001-08-231-0/+6
| | | | | and don't declare unsetenv or _environ directly. (unsetenv): Return int, not void. Use __environ instead of _environ.
* 2001-08-22 Roland McGrath <roland@frob.com>Roland McGrath2001-08-231-5/+6
| | | | | | * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>, and don't declare unsetenv or _environ directly. (unsetenv): Return int, not void. Use __environ instead of _environ.
* Fix formatting.Ulrich Drepper2001-08-221-4/+4
| | | | | | | * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal): Rename __argc to ___argc in prototypes to avoid compatibility problems with systems that reserve the identifier "__argc". Similarly for __argv.