about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2012-04-18 09:46:20 +0200
committerAndreas Jaeger <aj@suse.de>2012-04-18 14:31:43 +0200
commit7a99a614618a92b01715733d34b3320d75d9e997 (patch)
treeb40ebb9cbcb2f2abc260e9307ee468f027360a4f /sysdeps
parente5270c239d7515194b880bbef675d34bcc64139b (diff)
downloadglibc-7a99a614618a92b01715733d34b3320d75d9e997.tar.gz
glibc-7a99a614618a92b01715733d34b3320d75d9e997.tar.xz
glibc-7a99a614618a92b01715733d34b3320d75d9e997.zip
Finish ilogb changes
	[BZ# 6794]
	* sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
	* sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
	Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.

	* sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
	* sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
	Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.

	* sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
	* sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.

	* sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
	* sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
	Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/ieee754/ldbl-128/e_ilogbl.c (renamed from sysdeps/ieee754/ldbl-128/s_ilogbl.c)3
-rw-r--r--sysdeps/ieee754/ldbl-64-128/e_ilogbl.c2
-rw-r--r--sysdeps/ieee754/ldbl-64-128/s_ilogbl.c5
-rw-r--r--sysdeps/ieee754/ldbl-96/e_ilogbl.c (renamed from sysdeps/ieee754/ldbl-96/s_ilogbl.c)3
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c (renamed from sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c)6
5 files changed, 6 insertions, 13 deletions
diff --git a/sysdeps/ieee754/ldbl-128/s_ilogbl.c b/sysdeps/ieee754/ldbl-128/e_ilogbl.c
index d52eb050d4..0a476492d6 100644
--- a/sysdeps/ieee754/ldbl-128/s_ilogbl.c
+++ b/sysdeps/ieee754/ldbl-128/e_ilogbl.c
@@ -28,7 +28,7 @@ static char rcsid[] = "$NetBSD: $";
 #include <math.h>
 #include <math_private.h>
 
-int __ilogbl(long double x)
+int __ieee754_ilogbl (long double x)
 {
 	int64_t hx,lx;
 	int ix;
@@ -54,4 +54,3 @@ int __ilogbl(long double x)
 	}
 	return FP_ILOGBNAN;
 }
-weak_alias (__ilogbl, ilogbl)
diff --git a/sysdeps/ieee754/ldbl-64-128/e_ilogbl.c b/sysdeps/ieee754/ldbl-64-128/e_ilogbl.c
new file mode 100644
index 0000000000..75a38e13ce
--- /dev/null
+++ b/sysdeps/ieee754/ldbl-64-128/e_ilogbl.c
@@ -0,0 +1,2 @@
+#include <math_ldbl_opt.h>
+#include <sysdeps/ieee754/ldbl-128/e_ilogbl.c>
diff --git a/sysdeps/ieee754/ldbl-64-128/s_ilogbl.c b/sysdeps/ieee754/ldbl-64-128/s_ilogbl.c
deleted file mode 100644
index bb88082405..0000000000
--- a/sysdeps/ieee754/ldbl-64-128/s_ilogbl.c
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <math_ldbl_opt.h>
-#undef weak_alias
-#define weak_alias(n,a)
-#include <sysdeps/ieee754/ldbl-128/s_ilogbl.c>
-long_double_symbol (libm, __ilogbl, ilogbl);
diff --git a/sysdeps/ieee754/ldbl-96/s_ilogbl.c b/sysdeps/ieee754/ldbl-96/e_ilogbl.c
index 7534599941..0c7d9d5440 100644
--- a/sysdeps/ieee754/ldbl-96/s_ilogbl.c
+++ b/sysdeps/ieee754/ldbl-96/e_ilogbl.c
@@ -29,7 +29,7 @@ static char rcsid[] = "$NetBSD: $";
 #include <math.h>
 #include <math_private.h>
 
-int __ilogbl(long double x)
+int __ieee754_ilogbl (long double x)
 {
 	int32_t es,hx,lx,ix;
 
@@ -57,4 +57,3 @@ int __ilogbl(long double x)
 	}
 	return FP_ILOGBNAN;
 }
-weak_alias (__ilogbl, ilogbl)
diff --git a/sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c b/sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c
index 6d8bd00cc1..e24eee251e 100644
--- a/sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c
+++ b/sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c
@@ -1,6 +1,6 @@
 /* Software floating-point emulation.
    ilogbl(x, exp)
-   Copyright (C) 1999 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Jakub Jelinek (jj@ultra.linux.cz).
 
@@ -28,7 +28,7 @@
 #include "quad.h"
 #include <math.h>
 
-int __ilogbl(long double x)
+int __ieee754_ilogbl (long double x)
 {
   FP_DECL_EX;
   FP_DECL_Q(X);
@@ -77,5 +77,3 @@ int __ilogbl(long double x)
       return FP_ILOGBNAN;
     }
 }
-
-weak_alias (__ilogbl, ilogbl)