All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] glibc: remove bad patch snippet that eglibc forward ported
@ 2014-10-10 15:20 Saul Wold
  0 siblings, 0 replies; only message in thread
From: Saul Wold @ 2014-10-10 15:20 UTC (permalink / raw)
  To: openembedded-core

The s_sin.c patch undoes some code changes in glibc itself, these changes have nothing to
do with the option groups and I suspect crept in as part of the initial conversion.  Undoing
this patch also fixes a test failure in test-double and test-idouble.

[YOCTO #6808]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../glibc/glibc/eglibc-use-option-groups.patch     | 54 ----------------------
 1 file changed, 54 deletions(-)

diff --git a/meta/recipes-core/glibc/glibc/eglibc-use-option-groups.patch b/meta/recipes-core/glibc/glibc/eglibc-use-option-groups.patch
index f53a899..40c7832 100644
--- a/meta/recipes-core/glibc/glibc/eglibc-use-option-groups.patch
+++ b/meta/recipes-core/glibc/glibc/eglibc-use-option-groups.patch
@@ -15454,60 +15454,6 @@ Index: git/sysdeps/gnu/Makefile
  		   pututxline utmpxname updwtmpx getutmpx getutmp
  
  sysdep_headers += utmpx.h bits/utmpx.h
-Index: git/sysdeps/ieee754/dbl-64/s_sin.c
-===================================================================
---- git.orig/sysdeps/ieee754/dbl-64/s_sin.c	2014-08-29 20:00:54.260070587 -0700
-+++ git/sysdeps/ieee754/dbl-64/s_sin.c	2014-08-29 20:01:15.240070587 -0700
-@@ -447,21 +447,19 @@
- 	    }
- 	  else
- 	    {
--	      double t;
- 	      if (a > 0)
- 		{
- 		  m = 1;
--		  t = a;
- 		  db = da;
- 		}
- 	      else
- 		{
- 		  m = 0;
--		  t = -a;
-+		  a = -a;
- 		  db = -da;
- 		}
--	      u.x = big + t;
--	      y = t - (u.x - big);
-+	      u.x = big + a;
-+	      y = a - (u.x - big);
- 	      res = do_sin (u, y, db, &cor);
- 	      cor = (cor > 0) ? 1.035 * cor + eps : 1.035 * cor - eps;
- 	      retval = ((res == res + cor) ? ((m) ? res : -res)
-@@ -673,21 +671,19 @@
- 	    }
- 	  else
- 	    {
--	      double t;
- 	      if (a > 0)
- 		{
- 		  m = 1;
--		  t = a;
- 		  db = da;
- 		}
- 	      else
- 		{
- 		  m = 0;
--		  t = -a;
-+		  a = -a;
- 		  db = -da;
- 		}
--	      u.x = big + t;
--	      y = t - (u.x - big);
-+	      u.x = big + a;
-+	      y = a - (u.x - big);
- 	      res = do_sin (u, y, db, &cor);
- 	      cor = (cor > 0) ? 1.035 * cor + eps : 1.035 * cor - eps;
- 	      retval = ((res == res + cor) ? ((m) ? res : -res)
 Index: git/sysdeps/ieee754/ldbl-opt/Makefile
 ===================================================================
 --- git.orig/sysdeps/ieee754/ldbl-opt/Makefile	2014-08-29 20:00:54.452070587 -0700
-- 
1.8.3.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-10-10 15:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-10 15:20 [PATCH] glibc: remove bad patch snippet that eglibc forward ported Saul Wold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.