Blame SOURCES/ia-wordsize-64-roundeven.patch

190885
From 12932b371cd6eb8c3edbfb037e615ffbb546be86 Mon Sep 17 00:00:00 2001
190885
From: "H.J. Lu" <hjl.tools@gmail.com>
190885
Date: Tue, 22 Feb 2022 06:49:39 -0800
190885
Subject: [PATCH] math: Redirect wordsize-64 roundeven function
190885
190885
Redirect wordsize-64 roundeven function when there is no
190885
190885
commit 9e97f239eae1f2b1d2e694d844c0f6fd7c4dd271
190885
Author: Wilco Dijkstra <wdijkstr@arm.com>
190885
Date:   Thu Jan 7 15:26:26 2021 +0000
190885
190885
    Remove dbl-64/wordsize-64 (part 2)
190885
---
190885
 sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c | 4 +++-
190885
 1 file changed, 3 insertions(+), 1 deletion(-)
190885
190885
diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c
190885
index 7bbbb2dc..8728d0f2 100644
190885
--- a/sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c
190885
+++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c
190885
@@ -17,6 +17,7 @@
190885
    License along with the GNU C Library; if not, see
190885
    <http://www.gnu.org/licenses/>.  */
190885
 
190885
+#define NO_MATH_REDIRECT
190885
 #include <math.h>
190885
 #include <math_private.h>
190885
 #include <libm-alias-double.h>
190885
@@ -67,5 +68,6 @@ __roundeven (double x)
190885
   INSERT_WORDS64 (x, ix);
190885
   return x;
190885
 }
190885
-hidden_def (__roundeven)
190885
+#ifndef __roundeven
190885
 libm_alias_double (__roundeven, roundeven)
190885
+#endif
190885
-- 
190885
GitLab
190885