summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * version.h (VERSION): Define to 6. glibc-2.6 cvs/glibc-2_6-base cvs/glibc-2_6Ulrich Drepper2007-05-1511-49/+46
| | | | * include/features.h (__GLIBC_MINOR__): Likewise.
* * sysdeps/unix/sysv/linux/sem_post.c: Only wake threads if oldUlrich Drepper2007-05-158-54/+50
| | | | | | | | | | | | 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.
* * malloc/malloc.c: Use all small bin slots on 64-bit archs.Ulrich Drepper2007-05-152-5/+23
| | | | | * malloc/malloc.c (largebin_index): Really have 32 buckets with 64 sizes.
* * malloc/malloc.c (largebin_index): Really have 32 buckets with 64 sizes.Ulrich Drepper2007-05-142-2/+5
| | | | 2007-05-13 Ulrich Drepper <drepper@redhat.com>
* * malloc/malloc.c [MALLOC_DEBUG]: Keep track of current maximumUlrich Drepper2007-05-131-0/+7
| | | | | | number of mmaps. n_mmaps_max is the target. * malloc/hooks.c: Likewise. * malloc/arena.c: Likewise.
* [MALLOC_DEBUG]: Keep track of current maximum number of mmaps. n_mmaps_max ↵Ulrich Drepper2007-05-133-4/+39
| | | | is the target.
* * sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for getpid.Andreas Jaeger2007-05-122-0/+6
| | | | | | | 2007-05-12 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for getpid.
* (add_to_global): One more small cleanup patch.Ulrich Drepper2007-05-111-6/+3
|
* * elf/dl-close.c (_dl_close_worker): Help gcc to optimize byUlrich Drepper2007-05-112-30/+33
| | | | | | adding new variables. optimize. Completely extend global scope array before making the
* * elf/dl-open.c (add_to_global): Introduce variable ns to help gccUlrich Drepper2007-05-112-19/+28
| | | | | optimize. Complerely extend global scope array before making the new entries visible.
* * sysdeps/unix/sysv/linux/tst-getcpu.c: New file.Ulrich Drepper2007-05-116-9/+74
| | | | | | | | * 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.
* * scripts/check-c++-types.sh: Don't use -fnu89-inline option.Ulrich Drepper2007-05-112-2/+4
|
* * sysdeps/unix/sysv/linux/sched_setaffinity.c cvs/fedora-glibc-20070510T2308 cvs/fedora-glibc-20070510T2304Ulrich Drepper2007-05-107-4/+58
| | | | | | (__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.
* * io/sys/stat.h: Make sure struct timespec is defined forUlrich Drepper2007-05-102-2/+6
| | | | __USE_ATFILE.
* * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Define UTIME_NOW andUlrich Drepper2007-05-1018-15/+367
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Redefine __nonnull so that test for incorrect parameters in the libc code ↵Ulrich Drepper2007-05-101-0/+6
| | | | itself are not omitted.
* [BZ #4455] Jakub Jelinek2007-05-103-0/+8
| | | | | | | | | | * 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.
* * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Don't raise overflow cvs/fedora-glibc-20070510T0634Jakub Jelinek2007-05-102-2/+6
| | | | | | 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.
* [BZ #3427] Jakub Jelinek2007-05-102-3/+10
| | | | | | | | | | * 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.
* [BZ #4403]Ulrich Drepper2007-05-081-1/+6
| | | | | | | | 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.
* (strfry): Make result more random.Ulrich Drepper2007-05-081-6/+4
|
* 2007-05-07 Richard Henderson <rth@redhat.com>Richard Henderson2007-05-0711-20/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* [BZ #4455]Ulrich Drepper2007-05-073-2/+18
| | | | | * tst-align2.c (do_test): Add _STACK_GROWS_UP case. * tst-getpid1.c (do_test): Likewise.
* [BZ #4456]Ulrich Drepper2007-05-071-0/+6
| | | | | | | 2007-05-02 Carlos O'Donell <carlos@systemhalted.org> [BZ #4456] * allocatestack.c (change_stack_perm): Add _STACK_GROWS_UP case. (allocate_stack): Likewise.
* (change_stack_perm): Handle stacks growing up. (allocate_stack): Likewise.Ulrich Drepper2007-05-071-5/+19
|
* * malloc/arena.c (heap_info): Add mprotect_size field, adjust pad. Jakub Jelinek2007-05-073-8/+39
| | | | | | | | | | | | | | | (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.
* * sysdeps/unix/sysv/linux/lowlevelrobustlock.cUlrich Drepper2007-05-072-3/+26
| | | | | | (__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>.
* * locales/as_IN: Fix currency_symbol, abday for Sunday, abmon forUlrich Drepper2007-05-072-17/+24
| | | | | | 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-04-30 Steven Munroe <sjmunroe@us.ibm.com>Ulrich Drepper2007-05-0713-19/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* [BZ #4465]Ulrich Drepper2007-05-072-0/+3
| | | | [BZ #4465]
* * posix/unistd.h: Remove __THROW from fdatasync.Ulrich Drepper2007-05-075-3/+55
|
* * sysdeps/unix/sysv/linux/syscalls.list (fdatasync): Add "C" to args.Ulrich Drepper2007-05-072-1/+5
|
* * stdio-common/vfprintf.c (process_string_arg): OptimizeUlrich Drepper2007-05-072-2/+7
| | | | | ridiculous precision in wide char code printing multi-byte string. Reported by Jim Meyering <jim@meyering.net>.
* [BZ #4131]Ulrich Drepper2007-05-062-113/+120
| | | | | | | | 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>.
* * stdio-common/vfprintf.c (process_string_arg): Adjust call toUlrich Drepper2007-05-052-2/+5
| | | | __mbsnrtowcs after last change.
* * soft-fp/op-2.h (_FP_FRAC_COPY_2_2): Define as alias toUlrich Drepper2007-05-051-2/+4
| | | | | | _FP_FRAC_COPY_2. * soft-fp/op-4.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_4.
* * locale/programs/linereader.c (get_symname): Fix adding final NUL.Ulrich Drepper2007-05-052-2/+7
| | | | (get_ident): Likewise.
* [BZ #4114]Ulrich Drepper2007-05-042-0/+8
| | | | | | | 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.
* Asturian language locale for Spain.Ulrich Drepper2007-05-041-0/+132
|
* * soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT cvs/fedora-glibc-20070504T0917Jakub Jelinek2007-05-0310-60/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* * math/test-misc.c (main): Add tests for rounding long double Jakub Jelinek2007-05-033-2/+33
| | | | | | | | | | | | | | | | | values close to smallest double denormalized value to double. * soft-fp/op-common.h (FP_TRUNC): Correct off-by-one error in condition for truncating to 0. Set sticky bit for such truncation. 2007-05-03 Jakub Jelinek <jakub@redhat.com> * math/test-misc.c (main): Add tests for rounding long double values close to smallest double denormalized value to double. 2007-04-30 Joseph Myers <joseph@codesourcery.com> * soft-fp/op-common.h (FP_TRUNC): Correct off-by-one error in condition for truncating to 0. Set sticky bit for such truncation.
* * stdio-common/vfprintf.c (process_string_arg): Use a VLA rather thanUlrich Drepper2007-05-022-1/+7
| | | | fixed length array for ignore.
* * stdio-common/test-vfprintf.c (main): Add test for largeUlrich Drepper2007-05-012-3/+7
| | | | precision.
* [BZ #4438]Ulrich Drepper2007-05-012-9/+21
| | | | | | | 2007-04-30 Ulrich Drepper <drepper@redhat.com> [BZ #4438] * stdio-common/vfprintf.c (process_string_arg): Don't overflow the stack for large precisions.
* * stdio-common/printf_fp.c (___printf_fp): Don't print negative signUlrich Drepper2007-04-303-1/+13
| | | | | for exponent 0. * stdio-common/tfformat.c (sprint_doubles): Add a new test.
* [BZ #4439]Ulrich Drepper2007-04-304-3/+122
| | | | | | | | | 2007-04-30 Jakub Jelinek <jakub@redhat.com> [BZ #4439] * resolv/inet_ntop.c (inet_ntop4): Take terminating '\0' into account in the size check. * resolv/tst-inet_ntop.c: New test. * resolv/Makefile (tests): Add tst-inet_ntop.
* [BZ #4349]Ulrich Drepper2007-04-302-25/+119
| | | | | | | | | | | 2007-04-30 Ulrich Drepper <drepper@redhat.com> Jakub Jelinek <jakub@redhat.com> [BZ #4349] * malloc/malloc.c: Keep separate list for first blocks on the bin lists with a given size. This helps skipping over list elements we know won't fit in two places. Inspired by a patch by Tomash Brechko <tomash.brechko@gmail.com>.
* [BZ #4102]Ulrich Drepper2007-04-282-5/+83
| | | | | | | 2007-04-28 Ulrich Drepper <drepper@redhat.com> [BZ #4102] * sysdeps/posix/getaddrinfo.c (default_labels): Assign separate label to Teredo tunnel addresses 2001://32.
* * locale/programs/ld-collate.c (collate_read): Allow order_startUlrich Drepper2007-04-287-2425/+27951
| | | | after copy.
* [BZ #3213]Ulrich Drepper2007-04-286-382/+398
| | | | | | | | * locale/programs/ld-collate.c (collate_read): Fix printing of error message. [BZ #3213] * locale/C-translit.h.in: Add entry for U2044.