Skip to content
Snippets Groups Projects
  1. May 15, 2007
  2. May 14, 2007
  3. May 13, 2007
  4. May 12, 2007
  5. May 11, 2007
  6. May 10, 2007
    • Ulrich Drepper's avatar
      * sysdeps/unix/sysv/linux/sched_setaffinity.c · 3771196d
      Ulrich Drepper authored
      	(__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.
      2 tags
      3771196d
    • Ulrich Drepper's avatar
      * io/sys/stat.h: Make sure struct timespec is defined for · f9bf102d
      Ulrich Drepper authored
      	__USE_ATFILE.
      f9bf102d
    • Ulrich Drepper's avatar
      * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Define UTIME_NOW and · c27d2078
      Ulrich Drepper authored
      	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.
      c27d2078
    • Ulrich Drepper's avatar
    • Jakub Jelinek's avatar
      [BZ #4455] · 7d29b542
      Jakub Jelinek authored
      * 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.
      7d29b542
    • Jakub Jelinek's avatar
      * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Don't raise overflow · c1dfd7e6
      Jakub Jelinek authored
      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.
    • Jakub Jelinek's avatar
      [BZ #3427] · cf6b0980
      Jakub Jelinek authored
      * 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.
      cf6b0980
  7. May 08, 2007
  8. May 07, 2007
    • Richard Henderson's avatar
      2007-05-07 Richard Henderson <rth@redhat.com> · 37f40235
      Richard Henderson authored
              * 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.
      37f40235
    • Ulrich Drepper's avatar
      [BZ #4455] · 29c113f0
      Ulrich Drepper authored
      	* tst-align2.c (do_test): Add _STACK_GROWS_UP case.
      	* tst-getpid1.c (do_test): Likewise.
      29c113f0
    • Ulrich Drepper's avatar
      [BZ #4456] · 16105fe0
      Ulrich Drepper authored
      2007-05-02  Carlos O'Donell  <carlos@systemhalted.org>
      	[BZ #4456]
      	* allocatestack.c (change_stack_perm): Add _STACK_GROWS_UP case.
      	(allocate_stack): Likewise.
      16105fe0
    • Ulrich Drepper's avatar
    • Jakub Jelinek's avatar
      * malloc/arena.c (heap_info): Add mprotect_size field, adjust pad. · c7fd3362
      Jakub Jelinek authored
      (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.
      c7fd3362
    • Ulrich Drepper's avatar
      * sysdeps/unix/sysv/linux/lowlevelrobustlock.c · 6780bc44
      Ulrich Drepper authored
      	(__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>.
      6780bc44
    • Ulrich Drepper's avatar
      * locales/as_IN: Fix currency_symbol, abday for Sunday, abmon for · f84ecfd7
      Ulrich Drepper authored
      	January, February, and September to December, mon for January,
      	February, September, and December, am_pm, and name_*.
      	Patch by Amitakhya Phukan <aphukan@redhat.com>.
      f84ecfd7
    • Ulrich Drepper's avatar
      2007-04-30 Steven Munroe <sjmunroe@us.ibm.com> · 4a59e9ad
      Ulrich Drepper authored
                  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.
      4a59e9ad
    • Ulrich Drepper's avatar
      [BZ #4465] · 15eca720
      Ulrich Drepper authored
      	[BZ #4465]
      15eca720
    • Ulrich Drepper's avatar
      aa75f64c
    • Ulrich Drepper's avatar
    • Ulrich Drepper's avatar
      * stdio-common/vfprintf.c (process_string_arg): Optimize · 49a8eb75
      Ulrich Drepper authored
      	ridiculous precision in wide char code printing multi-byte string.
      	Reported by Jim Meyering <jim@meyering.net>.
      49a8eb75
  9. May 06, 2007
    • Ulrich Drepper's avatar
      [BZ #4131] · ffecd39b
      Ulrich Drepper authored
      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>.
      ffecd39b
  10. May 05, 2007
  11. May 04, 2007
  12. May 03, 2007
    • Jakub Jelinek's avatar
      * soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT · 37002cbc
      Jakub Jelinek authored
      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>
Loading