summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-09-19* elf/dl-cache.c (HWCAP_CHECK): If _DL_PLATFORMS_COUNT, butcvs/fedora-glibc-20060919T1847cvs/fedora-glibc-20060919T1816Ulrich Drepper
platform == -1, reject any libs with non-zero _DL_HWCAP_PLATFORM bits.
2006-09-19* elf/dl-close.c (_dl_close): If dependency is not unloaded makeUlrich Drepper
sure no reference to the unloaded map's search list remains in the dependency's scope. 2006-09-16 Jakub Jelinek <jakub@redhat.com> * elf/Makefile: Add rules to build and run unload7 test. * elf/unload7.c: New test. * elf/unload7mod1.c: New file. * elf/unload7mod2.c: New file.
2006-09-18* sysdeps/unix/sysv/linux/sys/ptrace.h (PT_GETEVENTMSG): Fix pasto.Ulrich Drepper
* sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG): Likewise. (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Change to the arch independent values. * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Check PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO and PTRACE_SETSIGINFO.
2006-09-17* sysdeps/unix/sysv/linux/sys/ptrace.h [PTRACE_SETOPTIONS,Ulrich Drepper
PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO]: Define. * sysdeps/unix/sysv/linux/ptrace.c [PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO]: Check. 2006-09-16 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc32/register-dump.h (register_dump): Don't write '\0' to the fd. * sysdeps/mach/hurd/powerpc/register-dump.h (register_dump): Likewise. * sysdeps/powerpc/powerpc64/register-dump.h (register_dump): Likewise. Change regs to unsigned long pointer from unsigned int, fix fscr offset.
2006-09-17 * io/Makefile (CFLAGS-fstatat.c): Set.Ulrich Drepper
(CFLAGS-fstatat64.c): Likewise. (CFLAGS-mknodat.c): Likewise. * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Comment fixes. * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Rewritten. * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Rewritten. 2006-09-14 Jakub Jelinek <jakub@redhat.com>
2006-09-17* sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: For PIUlrich Drepper
mutexes wake all mutexes. * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Don't increment WAKEUP_SEQ if this would increase the value beyond TOTAL_SEQ. * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2006-09-152006-09-14 Jakub Jelinek <jakub@redhat.com>cvs/fedora-glibc-20060915T0943Ulrich Drepper
Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 4 new cap names to the beginning. Rename "cell" to "cellbe". (_dl_powerpc_platforms): New. * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. (HWCAP_IMPORTANT): Remove power{4,5,5+} and cell. (_DL_PLATFORMS_COUNT, _DL_FIRST_PLATFORM): Define. (_DL_HWCAP_PLATFORM): Define to new mask. (_dl_platform_string, _dl_string_platform): New functions. * sysdeps/powerpc/sysdep.h (PPC_FEATURE_BOOKE, PPC_FEATURE_SMT, PPC_FEATURE_ICACHE_SNOOP, PPC_FEATURE_ARCH_2_05): Define.
2006-09-12[BZ #2526, BZ #3138, BZ #3143]Ulrich Drepper
2006-09-12 Jakub Jelinek <jakub@redhat.com> [BZ #2526] * README.libm: Fix a thinko in sqrt algorithm description. [BZ #3143] * manual/string.texi (argz_delete): Fix prototype. Patch by <alpt@freaknet.org>. 2006-08-26 Joseph Myers <joseph@codesourcery.com> [BZ #3138] * io/test-lfs.c (do_prepare): Give name_len type size_t. * io/tst-fcntl.c (do_prepare): Likewise. * posix/tst-exec.c (do_prepare): Likewise. * posix/tst-preadwrite.c (do_prepare): Likewise. * posix/tst-spawn.c (do_prepare): Likewise. * posix/tst-truncate.c (do_prepare): Likewise. * rt/tst-aio.c (do_prepare): Likewise. * rt/tst-aio64.c (do_prepare): Likewise. * stdlib/test-canon2.c (do_prepare): Give test_dir_len type size_t.
2006-09-09[BZ #2821]cvs/fedora-glibc-20060910T1832Ulrich Drepper
* time/mktime.c (guess_time_tm): Fix overflow detection. * time/Makefile (tests): Add bug-mktime1. * time/bug-mktime1.c: New file.
2006-09-09[BZ #3189]Ulrich Drepper
.. [BZ #3189, #3188] (mremap): Likewise.
2006-09-09[BZ #3189]Ulrich Drepper
2006-09-09 Ulrich Drepper <drepper@redhat.com> [BZ #3189] * misc/sys/mman.h (remap_file_pages): Make available for _GNU_SOURCE.
2006-09-09[BZ #1006]Ulrich Drepper
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Ensure relocation doesn't clobber any bits outside of the immediate field for R_SPARC_TLS_LE_HIX22, R_SPARC_WDISP30, R_SPARC_HI22 and R_SPARC_H44.
2006-09-08[BZ #3123]Ulrich Drepper
2006-09-08 Ulrich Drepper <drepper@redhat.com> [BZ #3123] * sysdeps/pthread/pthread_cond_wait.c (__condvar_cleanup): Don't increment WAKEUP_SEQ if this would increase the value beyond TOTAL_SEQ. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.c: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.c: Likewise. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.c: Likewise. * Makefile (tests): Add tst-cond22. * tst-cond22.c: New file.
2006-09-07[BZ #2775]Ulrich Drepper
* malloc/malloc.c (sYSMALLOc): Only call grow_heap if (long) (MINSIZE + nb - old_size) is positive. * malloc/arena.c (grow_heap): When growing bail even if new_size is negative.
2006-09-07[BZ #3155]Ulrich Drepper
2006-09-07 Jakub Jelinek <jakub@redhat.com> [BZ #3155] * sysdeps/powerpc/powerpc32/fpu/s_lrint.S (__lrint): Don't access stack below r1. * posix/regex_internal.c (re_string_reconstruct): Handle offset < pstr->valid_raw_len && pstr->offsets_needed case. Ensure no bytes read before raw_mbs array. Pass a saved copy of pstr->valid_len - 1 rather than pstr->valid_raw_len - 1 to re_string_context_at. * posix/Makefile: Add rules to build and run bug-regex26 test. * posix/bug-regex26.c: New test. * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Add ld.so.
2006-09-06* locale/programs/ld-collate.c (collate_read): Goto sym_equiv_freecvs/fedora-glibc-20060907T0853Ulrich Drepper
rather than col_sym_free. Move seqp declaration earlier. * resolv/gai_suspend.c (gai_suspend): Make sure result is initialized.
2006-09-05[BZ #3124]Ulrich Drepper
2006-09-05 Ulrich Drepper <drepper@redhat.com> [BZ #3124] * descr.h (struct pthread): Add parent_cancelhandling. * sysdeps/pthread/createthread.c (create_thread): Pass parent cancelhandling value to child. * pthread_create.c (start_thread): If parent thread was canceled reset the SIGCANCEL mask. * Makefile (tests): Add tst-cancel25. * tst-cancel25.c: New file.
2006-09-05* nscd/initgrcache.c (addinitgroupsX): Move any_successUlrich Drepper
decl before first goto out.
2006-09-052006-03-04 Jakub Jelinek <jakub@redhat.com>Ulrich Drepper
Roland McGrath <roland@redhat.com> * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_STUB_UNWIND_INFO_START, LLL_STUB_UNWIND_INFO_END, LLL_STUB_UNWIND_INFO_3, LLL_STUB_UNWIND_INFO_4): Define. (lll_mutex_lock, lll_robust_mutex_lock, lll_mutex_cond_lock, lll_robust_mutex_cond_lock, lll_mutex_timedlock, lll_robust_mutex_timedlock, lll_mutex_unlock, lll_robust_mutex_unlock, lll_lock, lll_unlock): Use them. Add _L_*_ symbols around the subsection. * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Add unwind info. * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Likewise. 2006-03-03 Jakub Jelinek <jakub@redhat.com> Roland McGrath <roland@redhat.com> * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (LLL_STUB_UNWIND_INFO_START, LLL_STUB_UNWIND_INFO_END, LLL_STUB_UNWIND_INFO_5, LLL_STUB_UNWIND_INFO_6): Define. (lll_mutex_lock, lll_robust_mutex_lock, lll_mutex_cond_lock, lll_robust_mutex_cond_lock, lll_mutex_timedlock, lll_robust_mutex_timedlock, lll_mutex_unlock, lll_robust_mutex_unlock, lll_lock, lll_unlock): Use them. Add _L_*_ symbols around the subsection. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Add unwind info. * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
2006-09-05* Makerules (shlib.lds): If have-hash-style, put .hash sectioncvs/fedora-glibc-20060905T0633Ulrich Drepper
at the end of the RO segment. 2006-09-04 Ulrich Drepper <drepper@redhat.com> * elf/do-lookup.h (do_lookup_x): Initialize symidx in case the new style hash table format is used. 2006-09-04 Jakub Jelinek <jakub@redhat.com>
2006-09-04* resolv/res_mkquery.c (res_nmkquery): Set hp->id to statp->id afterUlrich Drepper
randomization rather than before. * resolv/res_init.c (res_randomid): Don't call gettimeofday here.
2006-08-31* dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Addcvs/fedora-glibc-20060831T1812Ulrich Drepper
ld.so. * malloc/malloc.c (_int_malloc): Use full list insert and not shortcut which assumes the list is empty for large requests too. * elf/tst-addr1.c (do_test): Allow i.dli_sname "_IO_printf".
2006-08-30* pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock): Respectcvs/fedora-glibc-20060831T0640Ulrich Drepper
reader preference. * sysdeps/pthread/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Likewise. * sysdeps/pthread/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Likewise.
2006-08-30* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (splice): Add offinUlrich Drepper
and offout arguments to the prototype. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (splice): Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (splice): Likewise. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (splice): Likewise. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (splice): Likewise. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (splice): Likewise. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (splice): Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (splice): Likewise. * sysdeps/unix/sysv/linux/syscalls.list (splice): Adjust args string.
2006-08-29* elf/dl-load.c (_dl_init_paths): Expand DSTs.Ulrich Drepper
2006-08-28* elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM inUlrich Drepper
dlopen parameters.
2006-08-28* inet/getnameinfo.c (getnameinfo): For AF_INET, check errnocvs/fedora-glibc-20060828T1903Ulrich Drepper
only if herrno is NETDB_INTERNAL. Handle errors other than ERANGE outside of the loops, handle TRY_AGAIN. * locale/programs/ld-ctype.c (translit_flatten): Issue error if other's ctype category was missing. * locale/programs/ld-collate.c (collate_read): Return if copy_locale's collate category is missing.
2006-08-28[BZ #2684]Ulrich Drepper
2006-08-27 Ulrich Drepper <drepper@redhat.com> [BZ #2684] * malloc/malloc.c (public_rEALLOc): Try harder by using other arenas if allocation failed. Patch mostly by Jan Edler <jan.edler@indexengines.com>.
2006-08-27* malloc/malloc.c (bin_at): Rewrite to be more clear and to notUlrich Drepper
waste bins[0..1]. (malloc_state): Reduce bins size by 2. (_int_malloc): Fix test for large enough buffer for early termination. When no unsorted block matches perfectly and an exiting block has to be split, use full list insert and not shortcut which assumes the list is empty.
2006-08-26* locale/programs/ld-ctype.c (ctype_read): Better patch for readUlrich Drepper
failure.
2006-08-25* sysdeps/unix/sysv/linux/libc_pthread_init.c (freeres_libpthread):Ulrich Drepper
Only define ifdef SHARED.
2006-08-25* locale/programs/ld-ctype.c (ctype_read): If CTYPE is NULL, don'tcvs/fedora-glibc-20060825T0639Ulrich Drepper
do anything.
2006-08-24* sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): For undefinedUlrich Drepper
symbol require exact match (these are PLTs). * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h (_dl_ppc64_addr_sym_match): Likewise.
2006-08-24[BZ #2683]Ulrich Drepper
2006-08-24 Ulrich Drepper <drepper@redhat.com> [BZ #2683] * elf/dl-addr.c (_dl_addr): Don't ignore all undefined symbols. If symbol has a value use it. * elf/tst-dladdr1.c: New file. * elf/Makefile: Add rules to build and run tst-addr1.
2006-08-24* malloc/malloc.c (sYSMALLOc): Avoid infinite loop if MMAPUlrich Drepper
keeps failing and heap growth or new heap creation isn't successful either. * malloc/tst-malloc.c (main): Add new tests.
2006-08-24[BZ #2734]Ulrich Drepper
2006-08-24 Ulrich Drepper <drepper@redhat.com> [BZ #2734] * sysdeps/i386/bits/byteswap.h (__bswap_32): Use same conditions as in the x86-64 code to use bswap.
2006-08-24[BZ #2680]Ulrich Drepper
2006-08-24* posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, notUlrich Drepper
__USE_UNIX98. * posix/bits/unistd.h: Likewise.
2006-08-23* allocatestack.c (queue_stack): Move freeing of surplus stacks to...Ulrich Drepper
(free_stacks): ...here. (__free_stack_cache): New function. * pthreadP.h: Declare __free_stack_cache. * sysdeps/pthread/pthread-functions.h (pthread_functions): Add ptr_freeres. * init.c (pthread_functions): Initialize ptr_freeres. * sysdeps/unix/sysv/linux/libc_pthread_init.c (freeres_libptread): New freeres function.
2006-08-22* locales/nn_NO: Copy more categories from nb_NO.Ulrich Drepper
2006-08-22[BZ #2751]cvs/fedora-glibc-20060822T0706Ulrich Drepper
2006-05-15 Mike Frysinger <vapier@gentoo.org> [BZ #2751] * string/strchr.c: Add cast to avoid warning.
2006-08-22platforms define as 512K. For 64-bit platforms as 32MB. The lowerUlrich Drepper
2006-08-22* malloc/malloc.c (DEFAULT_MMAP_THRESHOLD_MAX): For 32-bitUlrich Drepper
platforms define as 1MB. For 64-bit platforms as 32MB. The lower limit is needed to avoid the exploding of the address space requirement for secondary heaps. * malloc/arena.c (HEAP_MAX_SIZE): Define using DEFAULT_MMAP_THRESHOLD_MAX if it is defined.
2006-08-21[BZ #3018]Ulrich Drepper
2006-07-30 Joseph S. Myers <joseph@codesourcery.com> [BZ #3018] * Makerules (depfiles): Handle extra-test-objs the same as extra-objs. (common-mostlyclean): Likewise. * dlfcn/Makefile (extra-objs): Add modules to extra-test-objs instead. * elf/Makefile (extra-objs): Likewise. * stdlib/Makefile (extra-objs): Likewise.
2006-08-21[BZ #3044]Ulrich Drepper
2006-08-14 Eric Blake <ebb9@byu.net> [BZ #3044] * misc/error.h: Assume C89 or better. * misc/error.c: Likewise.
2006-08-21[BZ #3040]Ulrich Drepper
2006-08-21 Ulrich Drepper <drepper@redhat.com> [BZ #3040] * sysdeps/unix/sysv/linux/openat.c: Fix compilation if __ASSUME_ATFCTS is defined.
2006-08-20* sysdeps/unix/sysv/linux/bits/posix_opt.h: DefineUlrich Drepper
_XOPEN_REALTIME_THREADS.
2006-08-19* malloc/malloc.c (_int_malloc): Limit number of unsorted blocksUlrich Drepper
to sort in each call.
2006-08-19* nis/nss_nis/nis-service.c (internal_nis_getservent_r): . If mapUlrich Drepper
is empty simply return and use next service. * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
2006-08-19* locale/programs/charmap.c (charmap_read): Add new parameter. ItUlrich Drepper
tells us when not finding a charmap file is an error. * locale/programs/charmap.h: Adjust charmap_read prototype. * iconv/iconv_prog.c (main): Tell charmap_read it's no error if we cannot find a charmap. * locale/programs/localedef.c (main): Adjust charmap_read call.