[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commits] r19022 - in /fsf/trunk/libc: ./ sysdeps/sh/sh4/fpu/ sysdeps/sh/sh4/fpu/bits/ sysdeps/unix/sysv/linux/sh/nptl/



Author: eglibc
Date: Sun Jun 10 00:01:38 2012
New Revision: 19022

Log:
Import glibc-mainline for 2012-06-10

Added:
    fsf/trunk/libc/sysdeps/unix/sysv/linux/sh/nptl/ld.abilist
Modified:
    fsf/trunk/libc/ChangeLog
    fsf/trunk/libc/sysdeps/sh/sh4/fpu/bits/fenv.h
    fsf/trunk/libc/sysdeps/sh/sh4/fpu/fegetenv.c
    fsf/trunk/libc/sysdeps/sh/sh4/fpu/fegetexcept.c
    fsf/trunk/libc/sysdeps/sh/sh4/fpu/fegetround.c
    fsf/trunk/libc/sysdeps/sh/sh4/fpu/fesetround.c
    fsf/trunk/libc/sysdeps/sh/sh4/fpu/fraiseexcpt.c
    fsf/trunk/libc/sysdeps/sh/sh4/fpu/ftestexcept.c
    fsf/trunk/libc/sysdeps/unix/sysv/linux/sh/nptl/libc.abilist
    fsf/trunk/libc/sysdeps/unix/sysv/linux/sh/nptl/libm.abilist
    fsf/trunk/libc/sysdeps/unix/sysv/linux/sh/nptl/librt.abilist

Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Sun Jun 10 00:01:38 2012
@@ -1,3 +1,22 @@
+2012-06-09  Thomas Schwinge  <thomas@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
+	(FE_UPWARD, FE_DOWNWARD): Don't define.
+	* sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
+	* sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
+
+	* sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
+	reading it.
+	* sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
+	* sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
+
+2012-06-09  Kaz Kojima  <kkojima@xxxxxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
+	* sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
+	* sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
+	* sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
+
 2012-06-06  H.J. Lu  <hongjiu.lu@xxxxxxxxx>
 
 	[BZ #14117]

Modified: fsf/trunk/libc/sysdeps/sh/sh4/fpu/bits/fenv.h
==============================================================================
--- fsf/trunk/libc/sysdeps/sh/sh4/fpu/bits/fenv.h (original)
+++ fsf/trunk/libc/sysdeps/sh/sh4/fpu/bits/fenv.h Sun Jun 10 00:01:38 2012
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -39,19 +39,17 @@
 #define FE_ALL_EXCEPT \
 	(FE_INEXACT | FE_DIVBYZERO | FE_UNDERFLOW | FE_OVERFLOW | FE_INVALID)
 
-/* The SH FPU supports all of the four defined rounding modes.  We
-   use again the bit positions in the FPU control word as the values
-   for the appropriate macros.  */
+/* The SH FPU supports two of the four defined rounding modes: round to nearest
+   and round to zero.  We use again the bit positions in the FPU control word
+   as the values for the appropriate macros.  */
 enum
   {
+    __FE_UNDEFINED = -1,
+
     FE_TONEAREST = 0x0,
 #define FE_TONEAREST	FE_TONEAREST
     FE_TOWARDZERO = 0x1,
 #define FE_TOWARDZERO	FE_TOWARDZERO
-    FE_UPWARD = 0x2,
-#define FE_UPWARD	FE_UPWARD
-    FE_DOWNWARD = 0x3
-#define FE_DOWNWARD	FE_DOWNWARD
   };
 
 

Modified: fsf/trunk/libc/sysdeps/sh/sh4/fpu/fegetenv.c
==============================================================================
--- fsf/trunk/libc/sysdeps/sh/sh4/fpu/fegetenv.c (original)
+++ fsf/trunk/libc/sysdeps/sh/sh4/fpu/fegetenv.c Sun Jun 10 00:01:38 2012
@@ -1,5 +1,5 @@
 /* Store current floating-point environment.
-   Copyright (C) 1997, 1998, 1999, 2000, 2012 Free Software Foundation, Inc.
+   Copyright (C) 1997-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -24,9 +24,6 @@
 {
   fpu_control_t temp;
   _FPU_GETCW (temp);
-  /* When read fpscr, this was initialized.
-     We need to rewrite value of temp. */
-  _FPU_SETCW (temp);
 
   envp->__fpscr = temp;
 

Modified: fsf/trunk/libc/sysdeps/sh/sh4/fpu/fegetexcept.c
==============================================================================
--- fsf/trunk/libc/sysdeps/sh/sh4/fpu/fegetexcept.c (original)
+++ fsf/trunk/libc/sysdeps/sh/sh4/fpu/fegetexcept.c Sun Jun 10 00:01:38 2012
@@ -27,9 +27,6 @@
 
   /* Get current exceptions.  */
   _FPU_GETCW (temp);
-  /* When read fpscr, this was initialized.
-     We need to rewrite value of temp. */
-  _FPU_SETCW (temp);
 
   return (temp >> 5) & FE_ALL_EXCEPT;
 }

Modified: fsf/trunk/libc/sysdeps/sh/sh4/fpu/fegetround.c
==============================================================================
--- fsf/trunk/libc/sysdeps/sh/sh4/fpu/fegetround.c (original)
+++ fsf/trunk/libc/sysdeps/sh/sh4/fpu/fegetround.c Sun Jun 10 00:01:38 2012
@@ -28,5 +28,5 @@
   /* Get control word.  */
   _FPU_GETCW (cw);
 
-  return cw & 0x3;
+  return cw & 0x1;
 }

Modified: fsf/trunk/libc/sysdeps/sh/sh4/fpu/fesetround.c
==============================================================================
--- fsf/trunk/libc/sysdeps/sh/sh4/fpu/fesetround.c (original)
+++ fsf/trunk/libc/sysdeps/sh/sh4/fpu/fesetround.c Sun Jun 10 00:01:38 2012
@@ -1,5 +1,5 @@
 /* Set current rounding direction.
-   Copyright (C) 1998, 2000, 2005, 2012 Free Software Foundation, Inc.
+   Copyright (C) 1998-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Andreas Jaeger <aj@xxxxxxxxxxxxxxxxxxxxxx>, 1998.
 
@@ -25,7 +25,7 @@
 {
   fpu_control_t cw;
 
-  if ((round & ~0x3) != 0)
+  if ((round & ~0x1) != 0)
     /* ROUND is no valid rounding mode.  */
     return 1;
 
@@ -33,7 +33,7 @@
   _FPU_GETCW (cw);
 
   /* Set rounding bits.  */
-  cw &= ~0x3;
+  cw &= ~0x1;
   cw |= round;
   /* Set new state.  */
   _FPU_SETCW (cw);

Modified: fsf/trunk/libc/sysdeps/sh/sh4/fpu/fraiseexcpt.c
==============================================================================
--- fsf/trunk/libc/sysdeps/sh/sh4/fpu/fraiseexcpt.c (original)
+++ fsf/trunk/libc/sysdeps/sh/sh4/fpu/fraiseexcpt.c Sun Jun 10 00:01:38 2012
@@ -1,5 +1,5 @@
 /* Raise given exceptions.
-   Copyright (C) 1997, 1998, 2000, 2002, 2012 Free Software Foundation, Inc.
+   Copyright (C) 1997-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Nobuhiro Iwamatsu <iwamatsu@xxxxxxxxxxx>, 2012.
 

Modified: fsf/trunk/libc/sysdeps/sh/sh4/fpu/ftestexcept.c
==============================================================================
--- fsf/trunk/libc/sysdeps/sh/sh4/fpu/ftestexcept.c (original)
+++ fsf/trunk/libc/sysdeps/sh/sh4/fpu/ftestexcept.c Sun Jun 10 00:01:38 2012
@@ -26,9 +26,6 @@
 
   /* Get current exceptions.  */
   _FPU_GETCW (temp);
-  /* When read fpscr, this was initialized.
-     We need to rewrite value of temp. */
-  _FPU_SETCW (temp);
 
   return temp & excepts & FE_ALL_EXCEPT;
 }

Added: fsf/trunk/libc/sysdeps/unix/sysv/linux/sh/nptl/ld.abilist
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/sh/nptl/ld.abilist (added)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/sh/nptl/ld.abilist Sun Jun 10 00:01:38 2012
@@ -1,0 +1,16 @@
+GLIBC_2.2
+ GLIBC_2.2 A
+ __libc_memalign F
+ __libc_stack_end D 0x4
+ _dl_mcount F
+ _r_debug D 0x14
+ calloc F
+ free F
+ malloc F
+ realloc F
+GLIBC_2.3
+ GLIBC_2.3 A
+ __tls_get_addr F
+GLIBC_2.4
+ GLIBC_2.4 A
+ __stack_chk_guard D 0x4

Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/sh/nptl/libc.abilist
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/sh/nptl/libc.abilist Sun Jun 10 00:01:38 2012
@@ -11,7 +11,6 @@
  accept4 F
  endsgent F
  fallocate F
- fallocate64 F
  fgetsgent F
  fgetsgent_r F
  getsgent F
@@ -36,6 +35,7 @@
  GLIBC_2.11 A
  __longjmp_chk F
  execvpe F
+ fallocate64 F
  mkostemps F
  mkostemps64 F
  mkstemps F
@@ -50,9 +50,7 @@
  sys_nerr D 0x4
 GLIBC_2.13
  GLIBC_2.13 A
- __fentry__ F
  fanotify_init F
- fanotify_mark F
  prlimit F
  prlimit64 F
 GLIBC_2.14
@@ -210,6 +208,7 @@
  _IO_wdefault_xsputn F
  _IO_wdo_write F
  _IO_wdoallocbuf F
+ _IO_wfile_jumps D 0x54
  _IO_wfile_overflow F
  _IO_wfile_seekoff F
  _IO_wfile_sync F
@@ -265,6 +264,7 @@
  __finitef F
  __finitel F
  __flbf F
+ __fork F
  __fpending F
  __fpu_control D 0x4
  __fpurge F
@@ -503,7 +503,7 @@
  _longjmp F
  _mcleanup F
  _mcount F
- _nl_default_dirname D 0x20
+ _nl_default_dirname D 0x12
  _nl_domain_bindings D 0x4
  _nl_msg_cat_cntr D 0x4
  _null_auth D 0xc
@@ -514,6 +514,7 @@
  _obstack_free F
  _obstack_memory_used F
  _obstack_newchunk F
+ _res D 0x200
  _res_hconf D 0x30
  _rpc_dtablesize F
  _seterr_reply F
@@ -1949,6 +1950,9 @@
 GLIBC_2.3.2
  GLIBC_2.3.2 A
  __register_atfork F
+ epoll_create F
+ epoll_ctl F
+ epoll_wait F
  lchmod F
  pthread_cond_broadcast F
  pthread_cond_destroy F
@@ -1959,6 +1963,7 @@
  strptime_l F
 GLIBC_2.3.3
  GLIBC_2.3.3 A
+ _sys_siglist D 0x104
  gnu_dev_major F
  gnu_dev_makedev F
  gnu_dev_minor F
@@ -1970,10 +1975,14 @@
  inet6_option_space F
  nftw F
  nftw64 F
+ posix_fadvise64 F
+ posix_fallocate64 F
  remap_file_pages F
  sched_getaffinity F
  sched_setaffinity F
  semtimedop F
+ sys_sigabbrev D 0x104
+ sys_siglist D 0x104
 GLIBC_2.3.4
  GLIBC_2.3.4 A
  __chk_fail F
@@ -2058,6 +2067,7 @@
  __wmemset_chk F
  __wprintf_chk F
  __xmknodat F
+ _sys_errlist D 0x210
  _sys_nerr D 0x4
  eaccess F
  faccessat F
@@ -2078,6 +2088,7 @@
  readlinkat F
  renameat F
  symlinkat F
+ sys_errlist D 0x210
  sys_nerr D 0x4
  unlinkat F
  unshare F

Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/sh/nptl/libm.abilist
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/sh/nptl/libm.abilist (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/sh/nptl/libm.abilist Sun Jun 10 00:01:38 2012
@@ -4,83 +4,56 @@
  __acosf_finite F
  __acosh_finite F
  __acoshf_finite F
- __acoshl_finite F
- __acosl_finite F
  __asin_finite F
  __asinf_finite F
- __asinl_finite F
  __atan2_finite F
  __atan2f_finite F
- __atan2l_finite F
  __atanh_finite F
  __atanhf_finite F
- __atanhl_finite F
  __cosh_finite F
  __coshf_finite F
- __coshl_finite F
  __exp10_finite F
  __exp10f_finite F
- __exp10l_finite F
  __exp2_finite F
  __exp2f_finite F
- __exp2l_finite F
  __exp_finite F
  __expf_finite F
- __expl_finite F
  __fmod_finite F
  __fmodf_finite F
- __fmodl_finite F
  __gamma_r_finite F
  __gammaf_r_finite F
- __gammal_r_finite F
  __hypot_finite F
  __hypotf_finite F
- __hypotl_finite F
  __j0_finite F
  __j0f_finite F
- __j0l_finite F
  __j1_finite F
  __j1f_finite F
- __j1l_finite F
  __jn_finite F
  __jnf_finite F
- __jnl_finite F
  __lgamma_r_finite F
  __lgammaf_r_finite F
- __lgammal_r_finite F
  __log10_finite F
  __log10f_finite F
- __log10l_finite F
  __log2_finite F
  __log2f_finite F
- __log2l_finite F
  __log_finite F
  __logf_finite F
- __logl_finite F
  __pow_finite F
  __powf_finite F
- __powl_finite F
  __remainder_finite F
  __remainderf_finite F
- __remainderl_finite F
  __scalb_finite F
  __scalbf_finite F
- __scalbl_finite F
  __sinh_finite F
  __sinhf_finite F
- __sinhl_finite F
  __sqrt_finite F
  __sqrtf_finite F
- __sqrtl_finite F
  __y0_finite F
  __y0f_finite F
- __y0l_finite F
  __y1_finite F
  __y1f_finite F
- __y1l_finite F
  __yn_finite F
  __ynf_finite F
- __ynl_finite F
 GLIBC_2.2
  GLIBC_2.2 A
  _LIB_VERSION D 0x4
@@ -394,3 +367,6 @@
  yn F
  ynf F
  ynl F
+GLIBC_2.4
+ GLIBC_2.4 A
+ exp2l F

Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/sh/nptl/librt.abilist
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/sh/nptl/librt.abilist (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/sh/nptl/librt.abilist Sun Jun 10 00:01:38 2012
@@ -31,13 +31,6 @@
  timer_getoverrun F
  timer_gettime F
  timer_settime F
-GLIBC_2.3.3
- GLIBC_2.3.3 A
- timer_create F
- timer_delete F
- timer_getoverrun F
- timer_gettime F
- timer_settime F
 GLIBC_2.3.4
  GLIBC_2.3.4 A
  mq_close F

_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits