From: Marcus Shawcroft <marcus.shawcroft@linaro.org>
To: libc-ports@sourceware.org
Cc: Andreas Jaeger <aj@suse.com>
Subject: [PATCH] AArch64 remove use of weak_alias_x macro.
Date: Tue, 20 Nov 2012 12:23:00 -0000 [thread overview]
Message-ID: <CABXK9ney-vVQPrTTnnmCv-Z9wTDPcBDmECyrx_HLosV_5bpTfg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 535 bytes --]
This patch address a comment raised by Andreas here:
http://sourceware.org/ml/libc-ports/2012-11/msg00066.html
/Marcus
2012-11-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
* 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.
[-- Attachment #2: 0006-Remove-weak_aliasx-macro.patch --]
[-- Type: application/octet-stream, Size: 1986 bytes --]
diff --git a/ports/sysdeps/aarch64/fpu/s_fma.c b/ports/sysdeps/aarch64/fpu/s_fma.c
index ae48806..c3b2344 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 324c759..49ff9b3 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 f0e76da..69d9e22 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 5512dc2..ca26e09 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 78e1c11..83748ae 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)
--
1.7.9.5
reply other threads:[~2012-11-20 12:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CABXK9ney-vVQPrTTnnmCv-Z9wTDPcBDmECyrx_HLosV_5bpTfg@mail.gmail.com \
--to=marcus.shawcroft@linaro.org \
--cc=aj@suse.com \
--cc=libc-ports@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).