m68k: Remove indirection through weak_aliasx
authorAndreas Schwab <schwab@linux-m68k.org>
Tue, 20 Nov 2012 19:28:24 +0000 (20:28 +0100)
committerAndreas Schwab <schwab@linux-m68k.org>
Tue, 20 Nov 2012 20:00:09 +0000 (21:00 +0100)
15 files changed:
ports/ChangeLog.m68k
ports/sysdeps/m68k/m680x0/fpu/s_atan.c
ports/sysdeps/m68k/m680x0/fpu/s_ccosh.c
ports/sysdeps/m68k/m680x0/fpu/s_cexp.c
ports/sysdeps/m68k/m680x0/fpu/s_csin.c
ports/sysdeps/m68k/m680x0/fpu/s_csinh.c
ports/sysdeps/m68k/m680x0/fpu/s_expm1.c
ports/sysdeps/m68k/m680x0/fpu/s_frexp.c
ports/sysdeps/m68k/m680x0/fpu/s_isinf.c
ports/sysdeps/m68k/m680x0/fpu/s_lrint.c
ports/sysdeps/m68k/m680x0/fpu/s_modf.c
ports/sysdeps/m68k/m680x0/fpu/s_remquo.c
ports/sysdeps/m68k/m680x0/fpu/s_scalbn.c
ports/sysdeps/m68k/m680x0/fpu/s_sin.c
ports/sysdeps/m68k/m680x0/fpu/s_sincos.c

index d609e27..2bcddc0 100644 (file)
@@ -1,3 +1,22 @@
+2012-11-20  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * sysdeps/m68k/m680x0/fpu/s_atan.c (weak_aliasx): Remove
+       macro and use weak_alias directly.
+       * sysdeps/m68k/m680x0/fpu/s_ccosh.c (weak_aliasx): Likewise.
+       * sysdeps/m68k/m680x0/fpu/s_cexp.c (weak_aliasx): Likewise.
+       * sysdeps/m68k/m680x0/fpu/s_csin.c (weak_aliasx): Likewise.
+       * sysdeps/m68k/m680x0/fpu/s_csinh.c (weak_aliasx): Likewise.
+       * sysdeps/m68k/m680x0/fpu/s_expm1.c (weak_aliasx): Likewise.
+       * sysdeps/m68k/m680x0/fpu/s_frexp.c (weak_aliasx): Likewise.
+       * sysdeps/m68k/m680x0/fpu/s_lrint.c (weak_aliasx): Likewise.
+       * sysdeps/m68k/m680x0/fpu/s_modf.c (weak_aliasx): Likewise.
+       * sysdeps/m68k/m680x0/fpu/s_isinf.c (weak_aliasx): Likewise.
+       * sysdeps/m68k/m680x0/fpu/s_remquo.c (weak_aliasx): Likewise.
+       * sysdeps/m68k/m680x0/fpu/s_scalbn.c (strong_aliasx, weak_aliasx):
+       Likewise.
+       * sysdeps/m68k/m680x0/fpu/s_sin.c (weak_aliasx): Likewise.
+       * sysdeps/m68k/m680x0/fpu/s_sincos.c (weak_aliasx): Likewise.
+
 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
 
        * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h (_DOCARGS_5)
index a7d8a29..c7bba83 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 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
@@ -32,6 +32,4 @@ __CONCATX(__,FUNC) (x)
 {
   return __m81_u(__CONCATX(__,FUNC))(x);
 }
-
-#define weak_aliasx(a,b) weak_alias(a,b)
-weak_aliasx (__CONCATX(__,FUNC), FUNC)
+weak_alias (__CONCATX(__,FUNC), FUNC)
index b836085..4056820 100644 (file)
@@ -1,5 +1,5 @@
 /* Complex cosine hyperbole function.  m68k fpu version
-   Copyright (C) 1997, 1999, 2010, 2012 Free Software Foundation, Inc.
+   Copyright (C) 1997-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
 
@@ -73,5 +73,4 @@ s(__ccosh) (__complex__ float_type x)
 
   return retval;
 }
-#define weak_aliasx(a,b) weak_alias(a,b)
-weak_aliasx (s(__ccosh), s(ccosh))
+weak_alias (s(__ccosh), s(ccosh))
index c2a9f1d..83750b6 100644 (file)
@@ -1,5 +1,5 @@
 /* Complex exponential function.  m68k fpu version
-   Copyright (C) 1997, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1997-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
 
@@ -133,5 +133,4 @@ s(__cexp) (__complex__ float_type x)
 
   return retval;
 }
-#define weak_aliasx(a,b) weak_alias(a,b)
-weak_aliasx (s(__cexp), s(cexp))
+weak_alias (s(__cexp), s(cexp))
index dc468d4..fb66086 100644 (file)
@@ -1,5 +1,5 @@
 /* Complex sine function.  m68k fpu version
-   Copyright (C) 1997, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1997-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
 
@@ -64,5 +64,4 @@ s(__csin) (__complex__ float_type x)
 
   return retval;
 }
-#define weak_aliasx(a,b) weak_alias(a,b)
-weak_aliasx (s(__csin), s(csin))
+weak_alias (s(__csin), s(csin))
index 2915658..ffc2b00 100644 (file)
@@ -1,5 +1,5 @@
 /* Complex sine hyperbole function.  m68k fpu version
-   Copyright (C) 1997, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1997-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
 
@@ -66,5 +66,4 @@ s(__csinh) (__complex__ float_type x)
 
   return retval;
 }
-#define weak_aliasx(a,b) weak_alias(a,b)
-weak_aliasx (s(__csinh), s(csinh))
+weak_alias (s(__csinh), s(csinh))
index 6dac1cc..3779322 100644 (file)
@@ -38,6 +38,4 @@ CONCATX(__,FUNC) (float_type x)
     __set_errno (ERANGE);
   return __m81_u(CONCATX(__, FUNC)) (x);
 }
-
-#define weak_aliasx(a, b) weak_alias(a, b)
-weak_aliasx (CONCATX(__, FUNC), FUNC)
+weak_alias (CONCATX(__, FUNC), FUNC)
index b449319..df73840 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2003 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
@@ -50,6 +50,4 @@ __CONCATX(__,FUNC) (float_type value, int *expptr)
         : "0" (value), "dmi" (-iexponent));
   return mantissa;
 }
-
-#define weak_aliasx(a,b) weak_alias(a,b)
-weak_aliasx (__CONCATX(__,FUNC), FUNC)
+weak_alias (__CONCATX(__,FUNC), FUNC)
index ff4d3b2..20872da 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2002 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
@@ -35,5 +35,4 @@ __CONCATX(__,FUNC) (x)
 
 #define hidden_defx(a) hidden_def(a)
 hidden_defx(__CONCATX(__,FUNC))
-#define weak_aliasx(a,b) weak_alias(a,b)
-weak_aliasx (__CONCATX(__,FUNC), FUNC)
+weak_alias (__CONCATX(__,FUNC), FUNC)
index da2ea53..443b05c 100644 (file)
@@ -1,6 +1,6 @@
 /* Round argument to nearest integral value according to current rounding
    direction.
-   Copyright (C) 1997 Free Software Foundation, Inc.
+   Copyright (C) 1997-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
 
@@ -34,6 +34,4 @@ CONCATX(__lrint,suffix) (float_type x)
 {
   return __m81_u(CONCATX(__lrint,suffix)) (x);
 }
-
-#define weak_aliasx(a,b) weak_alias(a,b)
-weak_aliasx (CONCATX(__lrint,suffix), CONCATX(lrint,suffix))
+weak_alias (CONCATX(__lrint,suffix), CONCATX(lrint,suffix))
index 95bc0ef..2520431 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
@@ -50,6 +50,4 @@ s(__modf) (float_type x, float_type *iptr)
     result = x - x_int;
   return result;
 }
-
-#define weak_aliasx(a,b) weak_alias(a,b)
-weak_aliasx(s(__modf), s(modf))
+weak_alias (s(__modf), s(modf))
index 1395f7e..0f05222 100644 (file)
@@ -1,5 +1,5 @@
 /* Compute remainder and a congruent to the quotient.  m68k fpu version
-   Copyright (C) 1997 Free Software Foundation, Inc.
+   Copyright (C) 1997-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
 
@@ -43,5 +43,4 @@ s(__remquo) (float_type x, float_type y, int *quo)
   *quo = cquo;
   return result;
 }
-#define weak_aliasx(a,b) weak_alias(a,b)
-weak_aliasx (s(__remquo), s(remquo))
+weak_alias (s(__remquo), s(remquo))
index 796aeb2..ce1b92a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 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
@@ -45,9 +45,6 @@ __CONCATX(__scalbn,suffix) (x, exp)
 {
   return __m81_u(__CONCATX(__scalbn,suffix))(x, exp);
 }
-
-#define weak_aliasx(a,b) weak_alias(a,b)
-#define strong_aliasx(a,b) strong_alias(a,b)
-weak_aliasx (__CONCATX(__scalbn,suffix), __CONCATX(scalbn,suffix))
-strong_aliasx (__CONCATX(__scalbn,suffix), __CONCATX(__scalbln,suffix))
-weak_aliasx (__CONCATX(__scalbn,suffix), __CONCATX(scalbln,suffix))
+weak_alias (__CONCATX(__scalbn,suffix), __CONCATX(scalbn,suffix))
+strong_alias (__CONCATX(__scalbn,suffix), __CONCATX(__scalbln,suffix))
+weak_alias (__CONCATX(__scalbn,suffix), __CONCATX(scalbln,suffix))
index 4f9b659..1ea3dda 100644 (file)
@@ -35,6 +35,4 @@ CONCATX(__,FUNC) (float_type x)
     __set_errno (EDOM);
   return __m81_u(CONCATX(__, FUNC)) (x);
 }
-
-#define weak_aliasx(a, b) weak_alias(a, b)
-weak_aliasx (CONCATX(__, FUNC), FUNC)
+weak_alias (CONCATX(__, FUNC), FUNC)
index 5e10db2..f7a40a3 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997-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
@@ -32,6 +32,4 @@ CONCATX(__,FUNC) (x, sinx, cosx)
 {
   __m81_u(CONCATX(__,FUNC))(x, sinx, cosx);
 }
-
-#define weak_aliasx(a,b) weak_alias(a,b)
-weak_aliasx (CONCATX(__,FUNC), FUNC)
+weak_alias (CONCATX(__,FUNC), FUNC)