]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
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 d609e2704094a8c4595dfcdfe66596ecadc79bb3..2bcddc05c2e3e3401ce43767de047225a5c58908 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 a7d8a296b4ca56926539d15277e312bdcc06559e..c7bba83f30a4174d5b591f38317d4af8eed31433 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 b8360853fd0e72cf2f5495455b18484fad62264d..40568208d15ffa7f73a725b078f9c676b9e69fbd 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 c2a9f1d22e164b784a65117df40481c6baa628e7..83750b64354d1fb11ea9a5c4d880c19c12ed55be 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 dc468d40e0013c9862d3351de65b318acdca1697..fb660867f193d5c69c866a01a37ad6851dac4e56 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 29156586e67fca0867f14a047cc5a686b20d9c8d..ffc2b000c15af22dcc13a5dc8918e31c71c6885f 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 6dac1cc1a748577c0b133259a20a74da5227e07b..37793221aa74fb1b857900df011d49c8b1cbc840 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 b4493190fc6723fe279565c43726f1a5b4388a93..df738407a9cd9ace332d16be70945ba7bbd69884 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 ff4d3b2b16ec5855968c0ddb87cceb740a2f154f..20872da536619d090b929eeff9244622d1d3f177 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 da2ea53bba3360efa1f22551c18daaece89864d0..443b05cea3db1bbc645f49e96c50c8ec7ff245ca 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 95bc0ef21228d438580fe21b223d1c29c4c8781f..2520431df0a83aeb2fec7d195638103ee24bdb7b 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 1395f7e0130957be8b089dc0e5513b2c89d6b0fe..0f052224e4197768dad78cfb6b4c8c5968b7e423 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 796aeb2b19a5c6195d7cf0954ae09faff2b70786..ce1b92a22c2107df16e7e8af18d093a5acb69797 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 4f9b659462309634ccce5bdaca278c606c0a6c77..1ea3dda693f047cbf49ba6b8d25d1ab30a423250 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 5e10db231e6fcf57b91aedf574d124a510593677..f7a40a3704204240b400cc6f4f41346e907de83f 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)