summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2014-10-10 08:20:22 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-10-10 16:44:33 +0100
commit07de72c18523d5ee7cdc98e824e72c5242b6eeb9 (patch)
treeb8d44f352c341f1eb80fc5ae1334430873b8a340 /meta
parentf8d5bfb05291cee03cc098f5d20df01b61e736a1 (diff)
downloadpoky-07de72c18523d5ee7cdc98e824e72c5242b6eeb9.tar.gz
glibc: remove bad patch snippet that eglibc forward ported
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] (From OE-Core rev: 5f225067dcb7244065f857d34e1041171844b243) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/glibc/glibc/eglibc-use-option-groups.patch54
1 files changed, 0 insertions, 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 f53a8994fc..40c783212a 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
15454 pututxline utmpxname updwtmpx getutmpx getutmp 15454 pututxline utmpxname updwtmpx getutmpx getutmp
15455 15455
15456 sysdep_headers += utmpx.h bits/utmpx.h 15456 sysdep_headers += utmpx.h bits/utmpx.h
15457Index: git/sysdeps/ieee754/dbl-64/s_sin.c
15458===================================================================
15459--- git.orig/sysdeps/ieee754/dbl-64/s_sin.c 2014-08-29 20:00:54.260070587 -0700
15460+++ git/sysdeps/ieee754/dbl-64/s_sin.c 2014-08-29 20:01:15.240070587 -0700
15461@@ -447,21 +447,19 @@
15462 }
15463 else
15464 {
15465- double t;
15466 if (a > 0)
15467 {
15468 m = 1;
15469- t = a;
15470 db = da;
15471 }
15472 else
15473 {
15474 m = 0;
15475- t = -a;
15476+ a = -a;
15477 db = -da;
15478 }
15479- u.x = big + t;
15480- y = t - (u.x - big);
15481+ u.x = big + a;
15482+ y = a - (u.x - big);
15483 res = do_sin (u, y, db, &cor);
15484 cor = (cor > 0) ? 1.035 * cor + eps : 1.035 * cor - eps;
15485 retval = ((res == res + cor) ? ((m) ? res : -res)
15486@@ -673,21 +671,19 @@
15487 }
15488 else
15489 {
15490- double t;
15491 if (a > 0)
15492 {
15493 m = 1;
15494- t = a;
15495 db = da;
15496 }
15497 else
15498 {
15499 m = 0;
15500- t = -a;
15501+ a = -a;
15502 db = -da;
15503 }
15504- u.x = big + t;
15505- y = t - (u.x - big);
15506+ u.x = big + a;
15507+ y = a - (u.x - big);
15508 res = do_sin (u, y, db, &cor);
15509 cor = (cor > 0) ? 1.035 * cor + eps : 1.035 * cor - eps;
15510 retval = ((res == res + cor) ? ((m) ? res : -res)
15511Index: git/sysdeps/ieee754/ldbl-opt/Makefile 15457Index: git/sysdeps/ieee754/ldbl-opt/Makefile
15512=================================================================== 15458===================================================================
15513--- git.orig/sysdeps/ieee754/ldbl-opt/Makefile 2014-08-29 20:00:54.452070587 -0700 15459--- git.orig/sysdeps/ieee754/ldbl-opt/Makefile 2014-08-29 20:00:54.452070587 -0700