about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2004-07-081-0/+5
| | | | | | | 2004-07-07 Jakub Jelinek <jakub@redhat.com> * elf/dl-fini.c (_dl_fini): Add nloaded variable, load GL(dl_nloaded) into it while still in critical section.
* (_dl_fini): Add nloaded variable, load GL(dl_nloaded) into it while still in ↵Ulrich Drepper2004-07-081-7/+9
| | | | critical section.
* * nss/getent.c (print_group, print_passwd): Use %lu format forRoland McGrath2004-07-073-4/+12
| | | | | | | `unsigned long int' values. * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Fix syntax error typos in goto statements.
* * Makefile (dist-separate): New variable.Roland McGrath2004-07-072-385/+753
| | | | | | | | | | (glibc-%.tar rule): Make separate tar files for add-ons listed there. Depend on their configure files. (dist-do-separate-dirs): New canned sequence to do that. (dist-separate-libidn, dist-separate-linuxthreads): New variables. (dist): Depend on add-on tar files based on $(dist-separate). (dist-version): New variable, default to $(version). (tag-for-dist, dist): Use that in place of $(version) in deps.
* 2004-07-07 Roland McGrath <roland@frob.com>Roland McGrath2004-07-072-749/+409
| | | | | | | | | | | * Makefile (dist-separate): New variable. (glibc-%.tar rule): Make separate tar files for add-ons listed there. Depend on their configure files. (dist-do-separate-dirs): New canned sequence to do that. (dist-separate-libidn, dist-separate-linuxthreads): New variables. (dist): Depend on add-on tar files based on $(dist-separate). (dist-version): New variable, default to $(version). (tag-for-dist, dist): Use that in place of $(version) in deps.
* Update.Ulrich Drepper2004-07-074-4/+26
| | | | | | | 2004-07-07 Ulrich Drepper <drepper@redhat.com> * elf/dl-fini.c (_dl_fini): Move the unlock of the ld.so lock before the loop running the destructors.
* Test for deadlock situation when running destructors for DSOs.Ulrich Drepper2004-07-072-0/+107
|
* * elf/dl-load.c (_dl_map_object_from_fd): Use the end address ofRoland McGrath2004-07-061-0/+5
| | | | the first segment for mprotect, not l_text_end.
* 2004-05-18 Andreas Schwab <schwab@suse.de>Roland McGrath2004-07-061-1/+1
| | | | | * elf/dl-load.c (_dl_map_object_from_fd): Use the end address of the first segment for mprotect, not l_text_end.
* Fix typo.Ulrich Drepper2004-07-061-1/+1
| | | | * sysdeps/powerpc/powerpc64/dl-machine.h: Don't reset _dl_starting_up
* Update.Ulrich Drepper2004-07-062-31/+28
| | | | | | * elf/dl-profile.c (_dl_start_profile): Compact error handling. Remove hashfraction variable. Make kcount and kcountsize local variables.
* Update.Ulrich Drepper2004-07-0634-124/+297
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-05 Ulrich Drepper <drepper@redhat.com> * elf/dl-init.c: Don't define and use _dl_starting_up if HAVE_INLINED_SYSCALLS is defined and the variable is not used. * elf/dl-support.c: Likewise. * elf/rtld.c: Likewise. * elf/dl-misc.c (_dl_debug_vdprintf): Use writev syscall directly if HAVE_INLINED_SYSCALLS is defined. * sysdeps/powerpc/powerpc64/dl-machine.h: Don't rest _dl_starting_up here. * sysdeps/powerpc/powerpc32/dl-start.S: Likewise. * sysdeps/unix/sysv/linux/configure.in: Define HAVE_INLINED_SYSCALLS. * config.h.in: Add entry for HAVE_INLINED_SYSCALLS. * sysdeps/posix/profil.c: If compiled for ld.so, omit code which is needed to stop profiling. * elf/dl-open.c (dl_open_worker): If a newly opened object is to be profile make sure it cannot be unloaded. * sysdeps/unix/sysv/linux/dl-origin.c: Inline readlink syscall. * sysdeps/unix/sysv/linux/fcntl.c: If compiled without cancellation support, make sure the helper function is inlined. * sysdeps/unix/sysv/linux/pread.c: Likewise. * sysdeps/unix/sysv/linux/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
* Update.Ulrich Drepper2004-07-0521-19/+62
| | | | | | | | | | | | | | | | | | | * include/string.h (ffs): Add libc_hidden_builtin_proto. * sysdeps/rs6000/ffs.c (ffs): Add libc_hidden_builtin_def. * sysdeps/alpha/alphaev67/ffs.S (ffs): Likewise. * sysdeps/alpha/ffs.S (ffs): Likewise. * sysdeps/s390/ffs.c (ffs): Likewise. * sysdeps/powerpc/ffs.c (ffs): Likewise. * sysdeps/i386/ffs.c (ffs): Likewise. * sysdeps/i386/i686/ffs.c (ffs): Likewise. * sysdeps/m68k/ffs.c (ffs): Likewise. * sysdeps/generic/ffs.c (ffs): Likewise. * sysdeps/m88k/ffs.c (ffs): Likewise. * sysdeps/am29k/ffs.c (ffs): Likewise. * sysdeps/i960/ffs.c (ffs): Likewise. * sysdeps/x86_64/ffs.c (ffs): Likewise. * Makerules (check-abi): Use diff -p -U 0 instead of diff -pu0.
* Update.Ulrich Drepper2004-07-0512-73/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-05 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/novmx-longjmp.c (__libc_longjmp, __libc_siglongjmp): Remove symbol_version. * sysdeps/powerpc/longjmp.c (__libc_longjmp, __libc_siglongjmp): Export @@GLIBC_PRIVATE, not @@GLIBC_2.3.4. * sysdeps/powerpc/sigjmp.c (__sigjmp_save): Use strong_alias unconditionally. * sysdeps/powerpc/novmx-sigjmp.c (__sigjmp_save): Remove. * sysdeps/powerpc/powerpc32/__longjmp.S (__longjmp): Use strong_alias instead of default_symbol_version, remove symbol_version. * sysdeps/powerpc/powerpc64/__longjmp.S (__longjmp): Likewise. * sysdeps/powerpc/powerpc32/bsd-setjmp.S (__novmx__setjmp): Change into strong_alias to __novmxsetjmp. (__vmx__setjmp): Similarly with __vmxsetjmp. (__setjmp): Make it strong_alias to __vmx__setjmp, remove default_symbol_version and symbol_version. * sysdeps/powerpc/powerpc64/bsd-setjmp.S (__novmx__setjmp): Change into strong_alias to __novmxsetjmp. (__vmx__setjmp): Similarly with __vmxsetjmp. (__setjmp): Make it strong_alias to __vmx__setjmp, remove default_symbol_version and symbol_version. * nscd/nscd_getgr_r.c: Include stdio-common/_itoa.h.
* Update.Ulrich Drepper2004-07-052-1/+5
| | | | | | 2004-07-05 Ulrich Drepper <drepper@redhat.com> * elf/rtld.c (dl_main): Mark dyn_temp with attribute_relro.
* Update.Ulrich Drepper2004-07-044-3/+45
| | | | | | | 2004-07-04 Matthew Reppert <arashi@kai.vm.bytemark.co.uk> * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Use libc_hidden_ver instead of libc_hidden_def.
* (glob64): Use libc_hidden_ver instead of libc_hidden_def.Ulrich Drepper2004-07-041-1/+1
|
* * aclocal.m4: Add provide for AC_CONFIG_AUX_DIR_DEFAULT.Roland McGrath2004-07-023-3/+17
| | | | | | | | | | * Makeconfig ($(common-objpfx)shlib-versions.v.i): Move top-level $(..)shlib-versions file to last in deps list. This lets add-ons give more-specific matches that override defaults in the top-level file. * sysdeps/unix/sysv/linux/configure.in: If arch_minimum_kernel was already set, don't set it or libc_cv_gcc_unwind_find_fde. * sysdeps/unix/sysv/linux/configure: Regenerated.
* 2004-07-01 Roland McGrath <roland@redhat.com>Roland McGrath2004-07-022-2/+10
| | | | | | * sysdeps/unix/sysv/linux/configure.in: If arch_minimum_kernel was already set, don't set it or libc_cv_gcc_unwind_find_fde. * sysdeps/unix/sysv/linux/configure: Regenerated.
* Update.Ulrich Drepper2004-07-0116-32/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-01 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/s390/fpu/bits/mathinline.h [__LIBC_INTERNAL_MATH_INLINES] (__ieee754_sqrt): Define as __MATH_INLINE using sqdbr instruction. (__ieee754_sqrtf): Define as __MATH_INLINE using sqebr instruction. * sysdeps/s390/fpu/e_sqrt.c: New file. * sysdeps/s390/fpu/e_sqrtf.c: New file. * sysdeps/s390/Implies: New file. * sysdeps/s390/s390-32/Implies: Remove ieee754, move ieee754/dbl-64 and ieee754/flt-32 to s390/Implies. * sysdeps/s390/s390-64/Implies: Likewise. 2004-06-30 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Include tls.h. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (thread_start): DO_CALL (exit, 1) instead of branching to _exit. * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (thread_start): Likewise. * sysdeps/s390/fpu/bits/mathinline.h: New file. * include/glob.h (glob64): Add libc_hidden_proto. * sysdeps/generic/glob64.c (glob64): Add libc_hidden_def. * sysdeps/gnu/glob64.c (glob64): Likewise. * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Likewise.
* Update.Ulrich Drepper2004-07-013-8/+36
| | | | | | | 2004-06-11 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 3.4. * sysdeps/s390/fpu/libm-test-ulps: Likewise.
* Update.Ulrich Drepper2004-06-3016-123/+1042
| | | | | | | | | | | | | | | | | | | | | 2004-06-11 Dwayne Grant McConnell <dgm69@us.ibm.com> * sysdeps/powerpc/fpu/s_lround.c: Removed. * sysdeps/powerpc/fpu/s_lroundf.c: Removed. * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: New file. * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: New file. * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: New file. * sysdeps/powerpc/powerpc32/fpu/s_floor.S: New file. * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: Removed. * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: New file. * sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: New file. * sysdeps/powerpc/powerpc32/fpu/s_lround.S: New file. * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: New file. * sysdeps/powerpc/powerpc32/fpu/s_rint.S: New file. * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: New file. * sysdeps/powerpc/powerpc32/fpu/s_round.S: New file. * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: New file. * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: New file.
* Update.Ulrich Drepper2004-06-302-0/+2
| | | | * sysdeps/unix/sysv/linux/Dist: Add netlinkaccess.h.
* Update.Ulrich Drepper2004-06-3012-72/+426
| | | | | | | | | | | | | | | | | 2004-06-30 Ulrich Drepper <drepper@redhat.com> * include/net/if.h: Handle if_nameindex and if_freenameindex with libc_proto_hidden. * sysdeps/unix/sysv/linux/netlinkaccess.h: New file. * sysdeps/unix/sysv/linux/ifaddrs.c: Export netlink handling functions. * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Implement using netlink if possible. Fall back on ioctl method if necessary. * include/unistd.h: Declare __truncate. * sysdeps/generic/truncate.c: Also define __truncate. * sysdeps/mach/hurd/truncate.c: Likewise. * sysdeps/unix/common/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/truncate64.c: Use __truncate, not truncate.
* Use get16/put16 for user given buffer in ucs2/ucs2reverse when unaligned ↵Ulrich Drepper2004-06-301-4/+4
| | | | memory access is attempted.
* * Banner: NPTL no longer has its own version number.Roland McGrath2004-06-291-0/+7
| | | | | | * Makefile (nptl-version): Variable removed. * sysdeps/pthread/Makefile (CFLAGS-confstr.c): Set LIBPTHREAD_VERSION using $(version), the glibc version number.
* 2004-06-29 Roland McGrath <roland@redhat.com>Roland McGrath2004-06-293-5/+3
| | | | | | | * Banner: NPTL no longer has its own version number. * Makefile (nptl-version): Variable removed. * sysdeps/pthread/Makefile (CFLAGS-confstr.c): Set LIBPTHREAD_VERSION using $(version), the glibc version number.
* Update.Ulrich Drepper2004-06-293-2/+8
| | | | | | | 2004-06-29 Ulrich Drepper <drepper@redhat.com> * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize info.extra. Patch by Marcus Meissner.
* Update.Ulrich Drepper2004-06-2910-10/+34
| | | | | | | 2004-06-29 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER): Fix branch offset for a PLT entry.
* Update.Ulrich Drepper2004-06-292-1/+6
| | | | | | | 2004-06-20 Jim Meyering <jim@meyering.net> * malloc/obstack.h (obstack_base): Cast to `void *', to align with documentation.
* [BZ #232]Ulrich Drepper2004-06-291-0/+1
| | | | | Update. Workaround for [BZ #232].
* Update.Ulrich Drepper2004-06-292-22/+4
| | | | * inet/bug-if1.c (do_test): Simply use 0 as invalid index.
* Update.Ulrich Drepper2004-06-291-0/+11
| | | | | | | | | | | | | 2004-06-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Use extend_alloca. 2004-06-28 GOTO Masanori <gotom@debian.or.jp> * iconv/gconv_simple.c: Use get16/put16 for user given buffer in ucs2/ucs2reverse when unaligned memory access is attempted. * iconv/tst-iconv5.c: New file. * iconv/Makefile (tests): Add tst-iconv5.
* (if_nameindex): Use extend_alloca.Ulrich Drepper2004-06-291-5/+10
|
* * inet/bug-if1.c: Include <string.h>.Roland McGrath2004-06-293-2/+43
| | | | | | | | | | | | | | | | 2004-06-19 Roland McGrath <roland@redhat.com> * sysdeps/posix/waitid.c (do_waitid) [DO_WAITID]: Define function under this macro name instead. [NO_DO_WAITID]: Don't define it at all. (do_waitid) [WNOWAIT, WEXITED]: If these POSIX.1 waitid flag bits are defined, then return ENOTSUP for combinations of selection bits other than WEXITED and WEXITED|WSTOPPED, which this version cannot support. * posix/tst-waitid.c: New file. * posix/Makefile (tests): Add it. 2004-06-28 Jakub Jelinek <jakub@redhat.com>
* 2004-06-19 Roland McGrath <roland@redhat.com>Roland McGrath2004-06-292-1/+285
| | | | | * posix/tst-waitid.c: New file. * posix/Makefile (tests): Add it.
* [BZ #230, BZ #231]Ulrich Drepper2004-06-286-7/+25
| | | | | | | | | | | | | | | Update. 2004-06-28 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/alpha/sysdep.h (inline_syscall6): Fix a typo. [BZ #231] * sysdeps/unix/alpha/sysdep.S (__syscall_error): Avoid !samegp relocation in librt.so. [BZ #230] * sysdeps/alpha/dl-machine.h (_dl_start_user): Use ldah/ldl to load _dl_skip_args. Patch by Jakub Bogusz <qboosh@pld-linux.org>.
* Update.Ulrich Drepper2004-06-283-4/+12
| | | | | | | | | | 2004-06-28 Jakub Jelinek <jakub@redhat.com> * sysdeps/pthread/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Return EINVAL if tv_nsec is negative, instead of tv_sec. * sysdeps/pthread/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock): Likewise.
* Update.Ulrich Drepper2004-06-284-12/+25
| | | | | * elf/ldconfig.c (add_dir): Take chroot into account. Based on changes by HJ Lu and Hideki Iwamoto.
* Update.Ulrich Drepper2004-06-282-2/+11
| | | | | * nscd/connections.c (invalidate_cache): If the host cache has to be invalidated, re-read resolv.conf.
* Update.Ulrich Drepper2004-06-285-2/+15
| | | | | | | | | | 2004-06-27 Ulrich Drepper <drepper@redhat.com> * resolv/resolv.h (RES_NOIP6DOTINT): Define. * resolv/res_init.c (res_setoptions): Handle no-ip6-dotint option. * resolv/gethnamaddr.c (gethostbyaddr): Don't lookup with .ip6.int if RES_NOIP6DOTINT flag is set. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
* Update.Ulrich Drepper2004-06-275-9/+101
| | | | | | | | | | | | | 2004-06-25 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/powerpc/fcntl.c: Move to... * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: ... here. * sysdeps/unix/sysv/linux/powerpc/lockf64.c: Move to... * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: ... here. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: New file. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_GETLK, F_SETLK, F_SETLKW): Fix values for -m32 -D_FILE_OFFSET_BITS=64.
* Update.Ulrich Drepper2004-06-275-3/+159
| | | | | | | | | | | | | 2004-06-27 Ulrich Drepper <drepper@redhat.com> * Makefile: Add rules to build tst-rwlock14. * tst-rwlock14.c: New file. 2004-06-24 Boris Hu <boris.hu@intel.com> * sysdeps/pthread/pthread_rwlock_timedrdlock.c: Add timeout validation check. * sysdeps/pthread/pthread_rwlock_timedwrlock.c: Likewise.
* [BZ #231]Ulrich Drepper2004-06-222-0/+8
| | | | | | | | | | Update. 2004-06-21 Jakub Jelinek <jakub@redhat.com> [BZ #231] * sysdeps/unix/alpha/Makefile: New file. * sysdeps/unix/alpha/rt-sysdep.S: New file. Reported by Jakub Bogusz <qboosh@pld-linux.org>.
* Additional makefile for Unix on Alpha.Ulrich Drepper2004-06-221-0/+3
|
* * Makerules (compile-mkdep-flags): Add -MT $@.Roland McGrath2004-06-207-467/+47
| | | | | | | | | | | | | | | | | | * Makefile (dist, tag-for-dist): New targets. (files-for-dist, tag-of-stem): New variables. (glibc-%.tar glibc-linuxthreads-%.tar): New pattern rule. Make tar files using cvs export. (%.bz2, %.gz, tag-%): New pattern rules. (distribute): Variable removed. (+subdir_targets): Remove distinfo targets. (echo_subdirs, echo-distinfo, parent_echo-distinfo): Targets removed. (rpm/%): Pattern rule removed. * rpm/Makefile, rpm/rpmrc, rpm/template: Ancient cruft files removed. * Rules (subdir_echo-headers, subdir_echo-distinfo, subdir_dist): Targets removed. * Makerules (dist, subdir_distinfo): Targets removed. ($(objpfx)distinfo): Depend on $(distribute). * Make-dist: File removed.
* 2004-06-18 Roland McGrath <roland@frob.com>Roland McGrath2004-06-201-17/+3
| | | | | | | | | | | | | | | | | | | * Makerules (compile-mkdep-flags): Add -MT $@. * Makefile (dist, tag-for-dist): New targets. (files-for-dist, tag-of-stem): New variables. (glibc-%.tar glibc-linuxthreads-%.tar): New pattern rule. Make tar files using cvs export. (%.bz2, %.gz, tag-%): New pattern rules. (distribute): Variable removed. (+subdir_targets): Remove distinfo targets. (echo_subdirs, echo-distinfo, parent_echo-distinfo): Targets removed. (rpm/%): Pattern rule removed. * rpm/Makefile, rpm/rpmrc, rpm/template: Ancient cruft files removed. * Rules (subdir_echo-headers, subdir_echo-distinfo, subdir_dist): Targets removed. * Makerules (dist, subdir_distinfo): Targets removed. ($(objpfx)distinfo): Depend on $(distribute). * Make-dist: File removed.
* Update.Andreas Jaeger2004-06-191-0/+5
| | | | | | | 2004-06-19 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Fix assembler in last patch.
* Fix assembler in last patch.Andreas Jaeger2004-06-191-1/+1
|
* Update.Ulrich Drepper2004-06-192-2/+7
| | | | | * sysdeps/posix/getaddrinfo.c (gaih_inet): For AI_CANONNAME, determine the canonical name only for the first returned entry.