m68k: rename s_ilogb* to e_ilogb*
authorAndreas Schwab <schwab@linux-m68k.org>
Tue, 17 Apr 2012 21:59:10 +0000 (23:59 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Tue, 17 Apr 2012 21:59:10 +0000 (23:59 +0200)
ChangeLog.m68k
sysdeps/m68k/m680x0/fpu/e_ilogb.c [moved from sysdeps/m68k/m680x0/fpu/s_ilogb.c with 88% similarity]
sysdeps/m68k/m680x0/fpu/e_ilogbf.c [moved from sysdeps/m68k/m680x0/fpu/s_ilogbf.c with 65% similarity]
sysdeps/m68k/m680x0/fpu/e_ilogbl.c [moved from sysdeps/m68k/m680x0/fpu/s_ilogbl.c with 68% similarity]

index d631b40..9d9b181 100644 (file)
@@ -1,3 +1,12 @@
+2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * sysdeps/m68k/m680x0/fpu/e_ilogb.c: Renamed from s_ilogb.c.
+       Define __ieee754_ilogb instead of __ilogb.
+       * sysdeps/m68k/m680x0/fpu/e_ilogbf.c: Renamed from s_ilogbf.c and
+       adjusted.
+       * sysdeps/m68k/m680x0/fpu/e_ilogbl.c: Renamed from s_ilogbl.c and
+       adjusted.
+
 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
 
        * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MAP_STACK)
similarity index 88%
rename from sysdeps/m68k/m680x0/fpu/s_ilogb.c
rename to sysdeps/m68k/m680x0/fpu/e_ilogb.c
index ab4438a..41c597a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 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
@@ -30,7 +30,7 @@
 #define m81(func) __m81_u(s(func))
 
 int
-s(__ilogb) (float_type x)
+s(__ieee754_ilogb) (float_type x)
 {
   float_type result;
   unsigned long x_cond;
@@ -45,6 +45,3 @@ s(__ilogb) (float_type x)
   __asm ("fgetexp%.x %1, %0" : "=f" (result) : "f" (x));
   return (int) result;
 }
-
-#define weak_aliasx(a,b) weak_alias(a,b)
-weak_aliasx (s(__ilogb), s(ilogb))
similarity index 65%
rename from sysdeps/m68k/m680x0/fpu/s_ilogbf.c
rename to sysdeps/m68k/m680x0/fpu/e_ilogbf.c
index 4031c42..34a8cd2 100644 (file)
@@ -1,3 +1,3 @@
 #define SUFF f
 #define float_type float
-#include <s_ilogb.c>
+#include <e_ilogb.c>
similarity index 68%
rename from sysdeps/m68k/m680x0/fpu/s_ilogbl.c
rename to sysdeps/m68k/m680x0/fpu/e_ilogbl.c
index 9c55a11..b0e13af 100644 (file)
@@ -1,3 +1,3 @@
 #define SUFF l
 #define float_type long double
-#include <s_ilogb.c>
+#include <e_ilogb.c>