aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-05-19* elf/dl-close.c (_dl_close_worker): When removing object fromUlrich Drepper
global scope, wait for all lookups to finish afterwards. * elf/dl-open.c (add_to_global): When global scope array must grow, allocate a new one and free old array only after all lookups finish. * elf/dl-runtime.c (_dl_fixup): Protect using global scope. (_dl_lookup_symbol_x): Likewise. * elf/dl-support.c: Define _dl_wait_lookup_done. * sysdeps/generic/ldsodefs.h (struct rtld_global): Add _dl_wait_lookup_done.
2007-05-19* malloc/malloc.c (do_check_chunk): Correct check for mmaped blockUlrich Drepper
not overlapping with arena.
2007-05-19* malloc/mcheck.c (reallochook): If size==0, free the block.Ulrich Drepper
2007-05-19* rt/tst-shm.c: Use fstat64 instead of fstat.Ulrich Drepper
2007-05-18* sysdeps/unix/sysv/linux/i386/sync_file_range.S: Fix case whereUlrich Drepper
__NR_sync_file_range is not defined.
2007-05-18[BZ #4512]Ulrich Drepper
* pthread_mutex_lock.c: Preserve FUTEX_WAITERS bit when dead owner is detected. * pthread_mutex_timedlock.c: Likewise. * pthread_mutex_trylock.c: Likewise. Patch in part by Atsushi Nemoto <anemo@mba.ocn.ne.jp>. * Makefile (tests): Add tst-robust9 and tst-robustpi9. * tst-robust9.c: New file. * tst-robustpi9.c: New file.
2007-05-17Dummy files to prevent stub versions from being used.Ulrich Drepper
* sysdeps/x86_64/fpu/k_cosl.c: New file. * sysdeps/x86_64/fpu/k_rem_pio2l.c: New file. * sysdeps/x86_64/fpu/k_sinl.c: New file. * sysdeps/x86_64/fpu/k_tanl.c: New file.
2007-05-17* version.h (VERSION): Set to 2.6.90.Ulrich Drepper
* version.h (VERSION): Define to 2.6. * include/features.h (__GLIBC_MINOR__): Define to 6.
2007-05-17(VERSION): Set to 2.6.90.Ulrich Drepper
2007-05-15whitespacecvs/fedora-glibc-20070515T2025Roland McGrath
2007-05-15* version.h (VERSION): Define to 6.glibc-2.6cvs/glibc-2_6-basecvs/glibc-2_6Ulrich Drepper
* include/features.h (__GLIBC_MINOR__): Likewise.
2007-05-15* sysdeps/unix/sysv/linux/sem_post.c: Only wake threads if oldUlrich Drepper
value of semaphore was zero. * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Likewise. * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove unnecessary extra cancellation test. * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Likewise.
2007-05-15* malloc/malloc.c: Use all small bin slots on 64-bit archs.Ulrich Drepper
* malloc/malloc.c (largebin_index): Really have 32 buckets with 64 sizes.
2007-05-14* malloc/malloc.c (largebin_index): Really have 32 buckets with 64 sizes.Ulrich Drepper
2007-05-13 Ulrich Drepper <drepper@redhat.com>
2007-05-13* malloc/malloc.c [MALLOC_DEBUG]: Keep track of current maximumUlrich Drepper
number of mmaps. n_mmaps_max is the target. * malloc/hooks.c: Likewise. * malloc/arena.c: Likewise.
2007-05-13[MALLOC_DEBUG]: Keep track of current maximum number of mmaps. n_mmaps_max ↵Ulrich Drepper
is the target.
2007-05-12* sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for getpid.Andreas Jaeger
2007-05-12 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for getpid.
2007-05-11(add_to_global): One more small cleanup patch.Ulrich Drepper
2007-05-11* elf/dl-close.c (_dl_close_worker): Help gcc to optimize byUlrich Drepper
adding new variables. optimize. Completely extend global scope array before making the
2007-05-11* elf/dl-open.c (add_to_global): Introduce variable ns to help gccUlrich Drepper
optimize. Complerely extend global scope array before making the new entries visible.
2007-05-11* sysdeps/unix/sysv/linux/tst-getcpu.c: New file.Ulrich Drepper
* sysdeps/unix/sysv/linux/Makefile [subdir=posix] (tests): Add tst-getcpu. * include/link.h: Move l_version and l_nversion members around to fill gaps.
2007-05-11* scripts/check-c++-types.sh: Don't use -fnu89-inline option.Ulrich Drepper
2007-05-10* sysdeps/unix/sysv/linux/sched_setaffinity.ccvs/fedora-glibc-20070510T2308cvs/fedora-glibc-20070510T2304Ulrich Drepper
(__sched_setaffinity_new): If syscall was successful and RESET_VGETCPU_CACHE is defined, use it before returning. * sysdeps/unix/sysv/linux/x86_64/sched_setaffinity.c: New file.
2007-05-10* io/sys/stat.h: Make sure struct timespec is defined forUlrich Drepper
__USE_ATFILE.
2007-05-10* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Define UTIME_NOW andUlrich Drepper
UTIME_OMIT. * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_UTIMENSAT. * io/sys/stat.h: Declare utimensat, futimens. * io/utimensat.c: New file. * io/futimens.c: New file. * sysdeps/unix/sysv/linux/utimensat.c: New file. * sysdeps/unix/sysv/linux/futimens.c: New file. * io/Makefile (routines): Add utimensat, futimens. * io/Versions: Add utimensat, futimens to GLIBC_2.6. * sysdeps/unix/sysv/linux/lutimes.c: New file. * sysdeps/unix/sysv/linux/futimes.c: Use utimensat syscall if available. * include/sys/cdefs.h: Redefine __nonnull so that test for incorrect parameters in the libc code itself are not omitted.
2007-05-10Redefine __nonnull so that test for incorrect parameters in the libc code ↵Ulrich Drepper
itself are not omitted.
2007-05-10[BZ #4455] Jakub Jelinek
* tst-align2.c: Include stackinfo.h. * tst-getpid1.c: Likewise. 2007-05-10 Jakub Jelinek <jakub@redhat.com> [BZ #4455] * tst-align2.c: Include stackinfo.h. * tst-getpid1.c: Likewise.
2007-05-10* sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Don't raise overflow cvs/fedora-glibc-20070510T0634Jakub Jelinek
exception in addition to inexact when asked to raise only FE_INEXACT. * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Don't raise overflow exception in addition to inexact when asked to raise only FE_INEXACT.
2007-05-10[BZ #3427] Jakub Jelinek
* sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Don't clear exceptions in *envp. 2007-05-09 Jakub Jelinek <jakub@redhat.com> [BZ #3427] * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Don't clear exceptions in *envp.
2007-05-08[BZ #4403]Ulrich Drepper
2007-05-07 Ulrich Drepper <drepper@redhat.com> [BZ #4403] * string/strfry.c (strfry): Make result more random. available in the compiler, add .arch directive to the assembly.
2007-05-08(strfry): Make result more random.Ulrich Drepper
2007-05-072007-05-07 Richard Henderson <rth@redhat.com>Richard Henderson
* sysdeps/alpha/fpu/bits/mathinline.h (__isnanl): Don't define if __NO_LONG_DOUBLE_MATH. * sysdeps/unix/sysv/linux/alpha/ioperm.c: If BWX insns not available in the compiler, add .arch directive to ethe assembly. 2007-05-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/alpha/fpu/s_nearbyint.c (nearbyintl): Fix version on compat_symbol to GLIBC_2_1. * sysdeps/alpha/fpu/s_fmin.S (fminl): Likewise. * sysdeps/alpha/fpu/s_trunc.c (truncl): Likewise. * sysdeps/alpha/fpu/s_fmax.S (fmaxl): Likewise. * sysdeps/alpha/fpu/s_lrint.c (lrintl, llrintl): Likewise. * sysdeps/alpha/fpu/s_lround.c (lroundl, llroundl): Likewise. * sysdeps/alpha/fpu/s_round.c (roundl): Likewise. * sysdeps/alpha/fpu/s_isnan.c (isnanl): Provide compat_symbol in libc, not libm. (__isnanl): New compat_symbol. 2007-05-07 Richard Henderson <rth@redhat.com> * sysdeps/alpha/fpu/bits/mathinline.h (__isnanl): Don't define if __NO_LONG_DOUBLE_MATH. * sysdeps/unix/sysv/linux/alpha/ioperm.c: If BWX insns not available in the compiler, add .arch directive to ethe assembly. 2007-05-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/alpha/fpu/s_nearbyint.c (nearbyintl): Fix version on compat_symbol to GLIBC_2_1. * sysdeps/alpha/fpu/s_fmin.S (fminl): Likewise. * sysdeps/alpha/fpu/s_trunc.c (truncl): Likewise. * sysdeps/alpha/fpu/s_fmax.S (fmaxl): Likewise. * sysdeps/alpha/fpu/s_lrint.c (lrintl, llrintl): Likewise. * sysdeps/alpha/fpu/s_lround.c (lroundl, llroundl): Likewise. * sysdeps/alpha/fpu/s_round.c (roundl): Likewise. * sysdeps/alpha/fpu/s_isnan.c (isnanl): Provide compat_symbol in libc, not libm. (__isnanl): New compat_symbol. Peter Bergner <bergner@us.ibm.com> * elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV.
2007-05-07[BZ #4455]Ulrich Drepper
* tst-align2.c (do_test): Add _STACK_GROWS_UP case. * tst-getpid1.c (do_test): Likewise.
2007-05-07[BZ #4456]Ulrich Drepper
2007-05-02 Carlos O'Donell <carlos@systemhalted.org> [BZ #4456] * allocatestack.c (change_stack_perm): Add _STACK_GROWS_UP case. (allocate_stack): Likewise.
2007-05-07(change_stack_perm): Handle stacks growing up. (allocate_stack): Likewise.Ulrich Drepper
2007-05-07* malloc/arena.c (heap_info): Add mprotect_size field, adjust pad. Jakub Jelinek
(new_heap): Initialize mprotect_size. (grow_heap): When growing, only mprotect from mprotect_size till new_size if mprotect_size is smaller. When shrinking, use PROT_NONE MMAP for __libc_enable_secure only, otherwise use MADV_DONTNEED. 2007-05-07 Ulrich Drepper <drepper@redhat.com> Jakub Jelinek <jakub@redhat.com> * malloc/arena.c (heap_info): Add mprotect_size field, adjust pad. (new_heap): Initialize mprotect_size. (grow_heap): When growing, only mprotect from mprotect_size till new_size if mprotect_size is smaller. When shrinking, use PROT_NONE MMAP for __libc_enable_secure only, otherwise use MADV_DONTNEED.
2007-05-07* sysdeps/unix/sysv/linux/lowlevelrobustlock.cUlrich Drepper
(__lll_robust_lock_wait): Fix race caused by reloading of futex value. (__lll_robust_timedlock_wait): Likewise. Reported by Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>.
2007-05-07* locales/as_IN: Fix currency_symbol, abday for Sunday, abmon forUlrich Drepper
January, February, and September to December, mon for January, February, September, and December, am_pm, and name_*. Patch by Amitakhya Phukan <aphukan@redhat.com>.
2007-05-072007-04-30 Steven Munroe <sjmunroe@us.ibm.com>Ulrich Drepper
Peter Bergner <bergner@us.ibm.com> * sysdeps/powerpc/bits/fenv.h: Declare __fe_mask_env extern. Define FE_NOMASK_ENV as FE_EANBLED_ENV. Define FE_MASK_ENV. * sysdeps/powerpc/fpu/Makefile: Add fe_mask to libm-support. * sysdeps/powerpc/fpu/fe_mask.c: New file. * sysdeps/powerpc/fpu/fe_nomask.c: Correct comment. * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Call __fe_mask_env() if all FP exceptions disabled. * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Copy high 32-bits from old FPSCR to new fenv to propagate DFP rounding modes. Call __fe_mask_env() if FP exceptions previously enabled. * sysdeps/powerpc/fpu/fesetenv.c (fesetenv): Change mask to merge exceptions from env. Use __fe_nomask_env() or __fe_mask_env() when transitioning from all exceptions disabled to any exception enabled or visa versa. * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Change mask to merge exceptions from env. Call __fe_nomask_env or __fe_mask_env when transitioning from all exceptions disabled to any exception enabled or visa versa. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Moved to... * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: ...here. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: Moved to... * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: ...here. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: New file.
2007-05-07[BZ #4465]Ulrich Drepper
[BZ #4465]
2007-05-07* posix/unistd.h: Remove __THROW from fdatasync.Ulrich Drepper
2007-05-07* sysdeps/unix/sysv/linux/syscalls.list (fdatasync): Add "C" to args.Ulrich Drepper
2007-05-07* stdio-common/vfprintf.c (process_string_arg): OptimizeUlrich Drepper
ridiculous precision in wide char code printing multi-byte string. Reported by Jim Meyering <jim@meyering.net>.
2007-05-06[BZ #4131]Ulrich Drepper
2007-05-06 Ulrich Drepper <drepper@redhat.com> [BZ #4131] * elf/dl-addr.c (_dl_addr): Compare address with actual segment boundaries to work around systems with overlapping binary loading. Based on a patch by Suzuki <suzuki@in.ibm.com>.
2007-05-05* stdio-common/vfprintf.c (process_string_arg): Adjust call toUlrich Drepper
__mbsnrtowcs after last change.
2007-05-05* soft-fp/op-2.h (_FP_FRAC_COPY_2_2): Define as alias toUlrich Drepper
_FP_FRAC_COPY_2. * soft-fp/op-4.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_4.
2007-05-05* locale/programs/linereader.c (get_symname): Fix adding final NUL.Ulrich Drepper
(get_ident): Likewise.
2007-05-04[BZ #4114]Ulrich Drepper
2007-05-04 Ulrich Drepper <drepper@redhat.com> [BZ #4114] * locales/ast_ES: New file. * SUPPORTED (SUPPORTED-LOCALES): Add ast_ES.UTF-8 and ast_ES.
2007-05-04Asturian language locale for Spain.Ulrich Drepper
2007-05-03* soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT cvs/fedora-glibc-20070504T0917Jakub Jelinek
with setting the sticky bit. * math/test-misc.c (main): Add more truncation tests. * soft-fp/floatunsidf.c (__floatunsidf): Use DFtype instead of double in the function declaration. * soft-fp/floatundidf.c (__floatundidf): Use DFtype instead of double in the function declaration. * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of float in the function declaration. * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of float in the function declaration. * soft-fp/extended.h (FP_UNPACK_RAW_E): Do not increase X##_e for denormal operands. Do not generate FP_EX_DENORM exception. (FP_UNPACK_RAW_EP): Ditto. (FP_UNPACK_SEMIRAW_E): Use FP_UNPACK_RAW_E instead of undefined _FP_UNPACK_RAW_E. (FP_UNPACK_SEMIRAW_EP): Use FP_UNPACK_RAW_EP instead of undefined _FP_UNPACK_RAW_EP. (FP_PACK_SEMIRAW_E): Use FP_PACK_RAW_E instead of undefined _FP_PACK_RAW_E. (FP_PACK_SEMIRAW_EP): Use FP_PACK_RAW_EP instead of undefined _FP_PACK_RAW_EP. * op-2.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_2. * op-4.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_4. * soft-fp/op-common.h (FP_EXTEND): Do not abort when _FP_EXPBIAS_##dfs == _FP_EXPBIAS_##sfs. Handle denormals for this case. * soft-fp/op-common.h (FP_TRUNC): Ditto. * soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT with setting the sticky bit. * math/test-misc.c (main): Add more truncation tests. 2007-04-14 Uros Bizjak <ubizjak@gmail.com> * soft-fp/floatunsidf.c (__floatunsidf): Use DFtype instead of double in the function declaration. * soft-fp/floatundidf.c (__floatundidf): Use DFtype instead of double in the function declaration. * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of float in the function declaration. * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of float in the function declaration. * soft-fp/extended.h (FP_UNPACK_RAW_E): Do not increase X##_e for denormal operands. Do not generate FP_EX_DENORM exception. (FP_UNPACK_RAW_EP): Ditto. (FP_UNPACK_SEMIRAW_E): Use FP_UNPACK_RAW_E instead of undefined _FP_UNPACK_RAW_E. (FP_UNPACK_SEMIRAW_EP): Use FP_UNPACK_RAW_EP instead of undefined _FP_UNPACK_RAW_EP. (FP_PACK_SEMIRAW_E): Use FP_PACK_RAW_E instead of undefined _FP_PACK_RAW_E. (FP_PACK_SEMIRAW_EP): Use FP_PACK_RAW_EP instead of undefined _FP_PACK_RAW_EP. * op-2.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_2. * op-4.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_4. 2007-04-16 Uros Bizjak <ubizjak@gmail.com> Jakub Jelinek <jakub@redhat.com> * soft-fp/op-common.h (FP_EXTEND): Do not abort when _FP_EXPBIAS_##dfs == _FP_EXPBIAS_##sfs. Handle denormals for this case. * soft-fp/op-common.h (FP_TRUNC): Ditto. 2007-05-03 Jakub Jelinek <jakub@redhat.com>