From 43e246d2a6a75710fbe3d3f3db23db3aeb8a9f93 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 13 Dec 2013 15:36:33 -0500 Subject: PowerPC: multiarch logb/logbl/logbf for PowerPC64 --- .../powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c (limited to 'sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c') diff --git a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c new file mode 100644 index 0000000000..6e42fcb03b --- /dev/null +++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c @@ -0,0 +1,28 @@ +/* logb(). PowerPC32/POWER7 version. + Copyright (C) 2013 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 + 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 + . */ + +#include + +#undef weak_alias +#define weak_alias(a, b) +#undef strong_alias +#define strong_alias(a, b) + +#define __logb __logb_ppc64 + +#include -- cgit v1.2.1