From 906c14da6386116784a53e0bcc37974259b4c122 Mon Sep 17 00:00:00 2001 From: PulkoMandy Date: Fri, 24 May 2019 20:13:18 +0200 Subject: [PATCH] sparc: use generic w_sqrtl.c implementation. I accidentally imported a newer version of the file that does the same thing as the existing one. Change-Id: Ifab3b24218f017cc57a459e0467cb8225accd9e5 Reviewed-on: https://review.haiku-os.org/c/1368 Reviewed-by: waddlesplash --- .../libroot/posix/glibc/arch/sparc/Jamfile | 3 +- .../libroot/posix/glibc/math/w_sqrtl_compat.c | 31 ------------------- 2 files changed, 1 insertion(+), 33 deletions(-) delete mode 100644 src/system/libroot/posix/glibc/math/w_sqrtl_compat.c diff --git a/src/system/libroot/posix/glibc/arch/sparc/Jamfile b/src/system/libroot/posix/glibc/arch/sparc/Jamfile index 188fbe6d75..15d29a03e5 100644 --- a/src/system/libroot/posix/glibc/arch/sparc/Jamfile +++ b/src/system/libroot/posix/glibc/arch/sparc/Jamfile @@ -122,8 +122,7 @@ local genericSources = w_remainder.c w_remainderf.c # w_remainderl.c w_scalb.c w_scalbf.c # w_scalbl.c w_sinh.c w_sinhf.c # w_sinhl.c - w_sqrt.c w_sqrtf.c # w_sqrtl.c - w_sqrtl_compat.c + w_sqrt.c w_sqrtf.c w_sqrtl.c ; diff --git a/src/system/libroot/posix/glibc/math/w_sqrtl_compat.c b/src/system/libroot/posix/glibc/math/w_sqrtl_compat.c deleted file mode 100644 index b0cc24ea21..0000000000 --- a/src/system/libroot/posix/glibc/math/w_sqrtl_compat.c +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (C) 2011-2019 Free Software Foundation, Inc. - This file is part of the GNU C Library. - Contributed by Ulrich Drepper , 2011. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - . */ - -#define NO_MATH_REDIRECT -#include -#include -#include - - -/* wrapper sqrtl */ -long double -__sqrtl (long double x) -{ - return __ieee754_sqrtl (x); -} -libm_alias_ldouble (__sqrt, sqrt)