diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2012-11-20 20:28:24 +0100 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2012-11-20 21:00:09 +0100 |
commit | 615f651b7eab8e7243f1b4bdcc35222ef91c0bb0 (patch) | |
tree | a895d630bc80d76ac57a25efc86cbea770081a88 /ports/sysdeps | |
parent | 105ce2ce621b79ebad13e307fb14ef8163cf7a44 (diff) | |
download | glibc-615f651b7eab8e7243f1b4bdcc35222ef91c0bb0.zip glibc-615f651b7eab8e7243f1b4bdcc35222ef91c0bb0.tar.gz glibc-615f651b7eab8e7243f1b4bdcc35222ef91c0bb0.tar.bz2 |
m68k: Remove indirection through weak_aliasx
Diffstat (limited to 'ports/sysdeps')
-rw-r--r-- | ports/sysdeps/m68k/m680x0/fpu/s_atan.c | 6 | ||||
-rw-r--r-- | ports/sysdeps/m68k/m680x0/fpu/s_ccosh.c | 5 | ||||
-rw-r--r-- | ports/sysdeps/m68k/m680x0/fpu/s_cexp.c | 5 | ||||
-rw-r--r-- | ports/sysdeps/m68k/m680x0/fpu/s_csin.c | 5 | ||||
-rw-r--r-- | ports/sysdeps/m68k/m680x0/fpu/s_csinh.c | 5 | ||||
-rw-r--r-- | ports/sysdeps/m68k/m680x0/fpu/s_expm1.c | 4 | ||||
-rw-r--r-- | ports/sysdeps/m68k/m680x0/fpu/s_frexp.c | 6 | ||||
-rw-r--r-- | ports/sysdeps/m68k/m680x0/fpu/s_isinf.c | 5 | ||||
-rw-r--r-- | ports/sysdeps/m68k/m680x0/fpu/s_lrint.c | 6 | ||||
-rw-r--r-- | ports/sysdeps/m68k/m680x0/fpu/s_modf.c | 6 | ||||
-rw-r--r-- | ports/sysdeps/m68k/m680x0/fpu/s_remquo.c | 5 | ||||
-rw-r--r-- | ports/sysdeps/m68k/m680x0/fpu/s_scalbn.c | 11 | ||||
-rw-r--r-- | ports/sysdeps/m68k/m680x0/fpu/s_sin.c | 4 | ||||
-rw-r--r-- | ports/sysdeps/m68k/m680x0/fpu/s_sincos.c | 6 |
14 files changed, 28 insertions, 51 deletions
diff --git a/ports/sysdeps/m68k/m680x0/fpu/s_atan.c b/ports/sysdeps/m68k/m680x0/fpu/s_atan.c index a7d8a29..c7bba83 100644 --- a/ports/sysdeps/m68k/m680x0/fpu/s_atan.c +++ b/ports/sysdeps/m68k/m680x0/fpu/s_atan.c @@ -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) diff --git a/ports/sysdeps/m68k/m680x0/fpu/s_ccosh.c b/ports/sysdeps/m68k/m680x0/fpu/s_ccosh.c index b836085..4056820 100644 --- a/ports/sysdeps/m68k/m680x0/fpu/s_ccosh.c +++ b/ports/sysdeps/m68k/m680x0/fpu/s_ccosh.c @@ -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)) diff --git a/ports/sysdeps/m68k/m680x0/fpu/s_cexp.c b/ports/sysdeps/m68k/m680x0/fpu/s_cexp.c index c2a9f1d..83750b6 100644 --- a/ports/sysdeps/m68k/m680x0/fpu/s_cexp.c +++ b/ports/sysdeps/m68k/m680x0/fpu/s_cexp.c @@ -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)) diff --git a/ports/sysdeps/m68k/m680x0/fpu/s_csin.c b/ports/sysdeps/m68k/m680x0/fpu/s_csin.c index dc468d4..fb66086 100644 --- a/ports/sysdeps/m68k/m680x0/fpu/s_csin.c +++ b/ports/sysdeps/m68k/m680x0/fpu/s_csin.c @@ -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)) diff --git a/ports/sysdeps/m68k/m680x0/fpu/s_csinh.c b/ports/sysdeps/m68k/m680x0/fpu/s_csinh.c index 2915658..ffc2b00 100644 --- a/ports/sysdeps/m68k/m680x0/fpu/s_csinh.c +++ b/ports/sysdeps/m68k/m680x0/fpu/s_csinh.c @@ -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)) diff --git a/ports/sysdeps/m68k/m680x0/fpu/s_expm1.c b/ports/sysdeps/m68k/m680x0/fpu/s_expm1.c index 6dac1cc..3779322 100644 --- a/ports/sysdeps/m68k/m680x0/fpu/s_expm1.c +++ b/ports/sysdeps/m68k/m680x0/fpu/s_expm1.c @@ -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) diff --git a/ports/sysdeps/m68k/m680x0/fpu/s_frexp.c b/ports/sysdeps/m68k/m680x0/fpu/s_frexp.c index b449319..df73840 100644 --- a/ports/sysdeps/m68k/m680x0/fpu/s_frexp.c +++ b/ports/sysdeps/m68k/m680x0/fpu/s_frexp.c @@ -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) diff --git a/ports/sysdeps/m68k/m680x0/fpu/s_isinf.c b/ports/sysdeps/m68k/m680x0/fpu/s_isinf.c index ff4d3b2..20872da 100644 --- a/ports/sysdeps/m68k/m680x0/fpu/s_isinf.c +++ b/ports/sysdeps/m68k/m680x0/fpu/s_isinf.c @@ -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) diff --git a/ports/sysdeps/m68k/m680x0/fpu/s_lrint.c b/ports/sysdeps/m68k/m680x0/fpu/s_lrint.c index da2ea53..443b05c 100644 --- a/ports/sysdeps/m68k/m680x0/fpu/s_lrint.c +++ b/ports/sysdeps/m68k/m680x0/fpu/s_lrint.c @@ -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)) diff --git a/ports/sysdeps/m68k/m680x0/fpu/s_modf.c b/ports/sysdeps/m68k/m680x0/fpu/s_modf.c index 95bc0ef..2520431 100644 --- a/ports/sysdeps/m68k/m680x0/fpu/s_modf.c +++ b/ports/sysdeps/m68k/m680x0/fpu/s_modf.c @@ -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)) diff --git a/ports/sysdeps/m68k/m680x0/fpu/s_remquo.c b/ports/sysdeps/m68k/m680x0/fpu/s_remquo.c index 1395f7e..0f05222 100644 --- a/ports/sysdeps/m68k/m680x0/fpu/s_remquo.c +++ b/ports/sysdeps/m68k/m680x0/fpu/s_remquo.c @@ -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)) diff --git a/ports/sysdeps/m68k/m680x0/fpu/s_scalbn.c b/ports/sysdeps/m68k/m680x0/fpu/s_scalbn.c index 796aeb2..ce1b92a 100644 --- a/ports/sysdeps/m68k/m680x0/fpu/s_scalbn.c +++ b/ports/sysdeps/m68k/m680x0/fpu/s_scalbn.c @@ -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)) diff --git a/ports/sysdeps/m68k/m680x0/fpu/s_sin.c b/ports/sysdeps/m68k/m680x0/fpu/s_sin.c index 4f9b659..1ea3dda 100644 --- a/ports/sysdeps/m68k/m680x0/fpu/s_sin.c +++ b/ports/sysdeps/m68k/m680x0/fpu/s_sin.c @@ -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) diff --git a/ports/sysdeps/m68k/m680x0/fpu/s_sincos.c b/ports/sysdeps/m68k/m680x0/fpu/s_sincos.c index 5e10db2..f7a40a3 100644 --- a/ports/sysdeps/m68k/m680x0/fpu/s_sincos.c +++ b/ports/sysdeps/m68k/m680x0/fpu/s_sincos.c @@ -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) |