about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* 2006-09-14 Jakub Jelinek <jakub@redhat.com> cvs/fedora-glibc-20060915T0943Ulrich Drepper2006-09-155-38/+119
| | | | | | | | | | | | | | | 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.
* [BZ #2526, BZ #3138, BZ #3143]Ulrich Drepper2006-09-1214-20/+55
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* [BZ #2821] cvs/fedora-glibc-20060910T1832Ulrich Drepper2006-09-094-6/+29
| | | | | | * time/mktime.c (guess_time_tm): Fix overflow detection. * time/Makefile (tests): Add bug-mktime1. * time/bug-mktime1.c: New file.
* [BZ #3189]Ulrich Drepper2006-09-092-9/+10
| | | | | | .. [BZ #3189, #3188] (mremap): Likewise.
* [BZ #3189]Ulrich Drepper2006-09-092-0/+7
| | | | | | 2006-09-09 Ulrich Drepper <drepper@redhat.com> [BZ #3189] * misc/sys/mman.h (remap_file_pages): Make available for _GNU_SOURCE.
* [BZ #1006]Ulrich Drepper2006-09-098-21/+40
| | | | | | | * 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.
* [BZ #3123]Ulrich Drepper2006-09-087-13/+208
| | | | | | | | | | | | 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.
* [BZ #2775]Ulrich Drepper2006-09-073-2/+10
| | | | | | | | * 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.
* [BZ #3155]Ulrich Drepper2006-09-075-26/+146
| | | | | | | | | | | | | | | | | 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.
* * locale/programs/ld-collate.c (collate_read): Goto sym_equiv_free cvs/fedora-glibc-20060907T0853Ulrich Drepper2006-09-063-3/+10
| | | | | | rather than col_sym_free. Move seqp declaration earlier. * resolv/gai_suspend.c (gai_suspend): Make sure result is initialized.
* [BZ #3124]Ulrich Drepper2006-09-056-2/+202
| | | | | | | | | | | | 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.
* * nscd/initgrcache.c (addinitgroupsX): Move any_successUlrich Drepper2006-09-056-4/+20
| | | | decl before first goto out.
* 2006-03-04 Jakub Jelinek <jakub@redhat.com>Ulrich Drepper2006-09-058-166/+594
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * Makerules (shlib.lds): If have-hash-style, put .hash section cvs/fedora-glibc-20060905T0633Ulrich Drepper2006-09-053-1/+19
| | | | | | | | | | | 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>
* * resolv/res_mkquery.c (res_nmkquery): Set hp->id to statp->id afterUlrich Drepper2006-09-043-12/+11
| | | | | randomization rather than before. * resolv/res_init.c (res_randomid): Don't call gettimeofday here.
* * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Add cvs/fedora-glibc-20060831T1812Ulrich Drepper2006-08-318-17/+45
| | | | | | | | | | 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".
* * pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock): Respect cvs/fedora-glibc-20060831T0640Ulrich Drepper2006-08-304-6/+22
| | | | | | | | reader preference. * sysdeps/pthread/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Likewise. * sysdeps/pthread/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Likewise.
* * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (splice): Add offinUlrich Drepper2006-08-3010-9/+30
| | | | | | | | | | | | 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.
* * elf/dl-load.c (_dl_init_paths): Expand DSTs.Ulrich Drepper2006-08-292-1/+21
|
* * elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM inUlrich Drepper2006-08-282-7/+5
| | | | dlopen parameters.
* * inet/getnameinfo.c (getnameinfo): For AF_INET, check errno cvs/fedora-glibc-20060828T1903Ulrich Drepper2006-08-284-43/+46
| | | | | | | | | | 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.
* [BZ #2684]Ulrich Drepper2006-08-282-0/+30
| | | | | | | | 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>.
* * malloc/malloc.c (bin_at): Rewrite to be more clear and to notUlrich Drepper2006-08-272-5/+22
| | | | | | | | | 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.
* * locale/programs/ld-ctype.c (ctype_read): Better patch for readUlrich Drepper2006-08-262-2/+8
| | | | failure.
* * sysdeps/unix/sysv/linux/libc_pthread_init.c (freeres_libpthread):Ulrich Drepper2006-08-252-1/+7
| | | | Only define ifdef SHARED.
* * locale/programs/ld-ctype.c (ctype_read): If CTYPE is NULL, don't cvs/fedora-glibc-20060825T0639Ulrich Drepper2006-08-252-0/+5
| | | | do anything.
* * sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): For undefinedUlrich Drepper2006-08-243-3/+8
| | | | | | symbol require exact match (these are PLTs). * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h (_dl_ppc64_addr_sym_match): Likewise.
* [BZ #2683]Ulrich Drepper2006-08-245-5/+36
| | | | | | | | | 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.
* * malloc/malloc.c (sYSMALLOc): Avoid infinite loop if MMAPUlrich Drepper2006-08-243-2/+21
| | | | | | keeps failing and heap growth or new heap creation isn't successful either. * malloc/tst-malloc.c (main): Add new tests.
* [BZ #2734]Ulrich Drepper2006-08-244-10/+33
| | | | | | | 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.
* [BZ #2680]Ulrich Drepper2006-08-242-0/+5
|
* * posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, notUlrich Drepper2006-08-247-7/+19
| | | | | __USE_UNIX98. * posix/bits/unistd.h: Likewise.
* * allocatestack.c (queue_stack): Move freeing of surplus stacks to...Ulrich Drepper2006-08-236-35/+72
| | | | | | | | | | | (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.
* * locales/nn_NO: Copy more categories from nb_NO.Ulrich Drepper2006-08-222-26/+10
|
* [BZ #2751] cvs/fedora-glibc-20060822T0706Ulrich Drepper2006-08-222-3/+9
| | | | | | 2006-05-15 Mike Frysinger <vapier@gentoo.org> [BZ #2751] * string/strchr.c: Add cast to avoid warning.
* platforms define as 512K. For 64-bit platforms as 32MB. The lowerUlrich Drepper2006-08-223-6/+6
|
* * malloc/malloc.c (DEFAULT_MMAP_THRESHOLD_MAX): For 32-bitUlrich Drepper2006-08-223-2/+28
| | | | | | | | 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.
* [BZ #3018]Ulrich Drepper2006-08-217-6/+23
| | | | | | | | | | | | 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.
* [BZ #3044]Ulrich Drepper2006-08-213-117/+21
| | | | | | | | | 2006-08-14 Eric Blake <ebb9@byu.net> [BZ #3044] * misc/error.h: Assume C89 or better. * misc/error.c: Likewise.
* [BZ #3040]Ulrich Drepper2006-08-213-7/+15
| | | | | | | 2006-08-21 Ulrich Drepper <drepper@redhat.com> [BZ #3040] * sysdeps/unix/sysv/linux/openat.c: Fix compilation if __ASSUME_ATFCTS is defined.
* * sysdeps/unix/sysv/linux/bits/posix_opt.h: DefineUlrich Drepper2006-08-202-0/+8
| | | | _XOPEN_REALTIME_THREADS.
* * malloc/malloc.c (_int_malloc): Limit number of unsorted blocksUlrich Drepper2006-08-192-0/+11
| | | | to sort in each call.
* * nis/nss_nis/nis-service.c (internal_nis_getservent_r): . If mapUlrich Drepper2006-08-193-0/+12
| | | | | is empty simply return and use next service. * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
* * locale/programs/charmap.c (charmap_read): Add new parameter. ItUlrich Drepper2006-08-195-7/+18
| | | | | | | | 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.
* [BZ #3034]Ulrich Drepper2006-08-193-8/+21
| | | | | | | | | | | 2006-08-19 Ulrich Drepper <drepper@redhat.com> [BZ #3034] * locales/ml_IN (abmon): Fix June entry. * locales/bn_IN: (abday): Fix Tuesday entry. (day): Likewise. (abmon): Fix January and February entries. (mon): Likewise. Patches by Mayank Jain <majain@redhat.com>.
* * sysdeps/unix/sysv/linux/clock_settime.c (INTERNAL_VSYSCALL): Use cvs/fedora-glibc-20060815T2033Ulrich Drepper2006-08-153-4/+11
| | | | | | HAVE_CLOCK_GETRES_VSYSCALL as guard macro rather than HAVE_CLOCK_GETTIME_VSYSCALL. (maybe_syscall_settime_cpu): Use plain INTERNAL_VSYSCALL here.
* * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Use cvs/fedora-glibc-20060815T0533Ulrich Drepper2006-08-154-54/+23
| | | | | | | | | sysdeps/posix/pause.c implementation instead. 2006-08-09 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/nice.c (nice): Transform EACCES errno from setpriority to EPERM.
* * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve):Ulrich Drepper2006-08-1425-43/+1249
| | | | | Don't clobber caller's LRSAVE. (_dl_prof_resolve): Likewise.
* [BZ #1996]Ulrich Drepper2006-08-149-22/+468
| | | | | | | | | | | | | | | | | | | 2006-08-14 Ulrich Drepper <drepper@redhat.com> [BZ #1996] * libio/memstream.c (open_memstream): Allocate initial buffer with calloc. * libio/wmemstream.c (open_wmemstream): Likewise. * libio/strops.c: Pretty printing. (_IO_str_overflow): Clear uninitialized part of the new buffer. (enlarge_userbuf): New function. (_IO_str_seekoff): Call it if seek position is larger than current buffer. * libio/wstrops.c: Likewise. * libio/vasprintf.c: Add comment as to why we do not have to use calloc instead of malloc to allocate initial buffer. * libio/Makefile (tests): Add bug-memstream1 and bug-wmemstream1. * libio/bug-memstream1.c: New file. * libio/bug-wmemstream1.c: New file.
* * libio/wstrops.c: Remove dead macro definitions and comments.Ulrich Drepper2006-08-143-66/+5
| | | | * libio/strops.c: Likewise.