From 3bae7c5d987f84cc57b56e1a65e04fbbacdc17ed Mon Sep 17 00:00:00 2001 From: Marcus Shawcroft Date: Wed, 21 Nov 2012 08:03:01 +0000 Subject: [PATCH] aarch64: Remove weak_aliasx macro. --- ports/ChangeLog.aarch64 | 9 +++++++++ ports/sysdeps/aarch64/fpu/s_fma.c | 3 +-- ports/sysdeps/aarch64/fpu/s_fmin.c | 3 +-- ports/sysdeps/aarch64/fpu/s_frint.c | 3 +-- ports/sysdeps/aarch64/fpu/s_lrint.c | 3 +-- ports/sysdeps/aarch64/fpu/s_lround.c | 3 +-- 6 files changed, 14 insertions(+), 10 deletions(-) diff --git a/ports/ChangeLog.aarch64 b/ports/ChangeLog.aarch64 index f9492ce261..7088c23d95 100644 --- a/ports/ChangeLog.aarch64 +++ b/ports/ChangeLog.aarch64 @@ -1,3 +1,12 @@ +2012-11-20 Marcus Shawcroft + + * sysdeps/aarch64/fpu/s_fma.c (weak_alias_x): + Remove and switch to weak_alias. + * sysdeps/aarch64/fpu/s_fmin.c (weak_alias_x): Likewise. + * sysdeps/aarch64/fpu/s_frint.c (weak_alias_x): Likewise. + * sysdeps/aarch64/fpu/s_lrint.c (weak_alias_x): Likewise. + * sysdeps/aarch64/fpu/s_lround.c (weak_alias_x): Likewise. + 2012-11-20 Marcus Shawcroft * sysdeps/aarch64/fpu/s_fma.c (strong_aliasx, NO_LONG_DOUBLE): Remove. diff --git a/ports/sysdeps/aarch64/fpu/s_fma.c b/ports/sysdeps/aarch64/fpu/s_fma.c index ae48806005..c3b2344f7d 100644 --- a/ports/sysdeps/aarch64/fpu/s_fma.c +++ b/ports/sysdeps/aarch64/fpu/s_fma.c @@ -42,5 +42,4 @@ __CONCATX(__,FUNC) (TYPE x, TYPE y, TYPE z) return result; } -#define weak_aliasx(a,b) weak_alias(a,b) -weak_aliasx (__CONCATX(__,FUNC), FUNC) +weak_alias (__CONCATX(__,FUNC), FUNC) diff --git a/ports/sysdeps/aarch64/fpu/s_fmin.c b/ports/sysdeps/aarch64/fpu/s_fmin.c index 324c7593e6..49ff9b365d 100644 --- a/ports/sysdeps/aarch64/fpu/s_fmin.c +++ b/ports/sysdeps/aarch64/fpu/s_fmin.c @@ -46,5 +46,4 @@ __CONCATX(__,FUNC) (TYPE x, TYPE y) return result; } -#define weak_aliasx(a,b) weak_alias(a,b) -weak_aliasx (__CONCATX(__,FUNC), FUNC) +weak_alias (__CONCATX(__,FUNC), FUNC) diff --git a/ports/sysdeps/aarch64/fpu/s_frint.c b/ports/sysdeps/aarch64/fpu/s_frint.c index f0e76dafa0..69d9e2233d 100644 --- a/ports/sysdeps/aarch64/fpu/s_frint.c +++ b/ports/sysdeps/aarch64/fpu/s_frint.c @@ -46,5 +46,4 @@ __CONCATX(__,FUNC) (TYPE x) return result; } -#define weak_aliasx(a,b) weak_alias(a,b) -weak_aliasx (__CONCATX(__,FUNC), FUNC) +weak_alias (__CONCATX(__,FUNC), FUNC) diff --git a/ports/sysdeps/aarch64/fpu/s_lrint.c b/ports/sysdeps/aarch64/fpu/s_lrint.c index 5512dc28b2..ca26e09f96 100644 --- a/ports/sysdeps/aarch64/fpu/s_lrint.c +++ b/ports/sysdeps/aarch64/fpu/s_lrint.c @@ -50,5 +50,4 @@ __CONCATX(__,FUNC) (ITYPE x) return result; } -#define weak_aliasx(a,b) weak_alias(a,b) -weak_aliasx (__CONCATX(__,FUNC), FUNC) +weak_alias (__CONCATX(__,FUNC), FUNC) diff --git a/ports/sysdeps/aarch64/fpu/s_lround.c b/ports/sysdeps/aarch64/fpu/s_lround.c index 78e1c11146..83748ae395 100644 --- a/ports/sysdeps/aarch64/fpu/s_lround.c +++ b/ports/sysdeps/aarch64/fpu/s_lround.c @@ -48,5 +48,4 @@ __CONCATX(__,FUNC) (ITYPE x) return result; } -#define weak_aliasx(a,b) weak_alias(a,b) -weak_aliasx (__CONCATX(__,FUNC), FUNC) +weak_alias (__CONCATX(__,FUNC), FUNC)