public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: H.J. Lu <hjl@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc] nearbyint: Don't define alias when used in IFUNC [BZ #31759] Date: Mon, 20 May 2024 12:21:56 +0000 (GMT) [thread overview] Message-ID: <20240520122156.649753858D1E@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4e21cb95e206dddf049dec12f7d4e25a79d60e05 commit 4e21cb95e206dddf049dec12f7d4e25a79d60e05 Author: H.J. Lu <hjl.tools@gmail.com> Date: Sun May 19 16:36:01 2024 -0700 nearbyint: Don't define alias when used in IFUNC [BZ #31759] Fix BZ #31759 by not defining nearbyint aliases when used in IFUNC. Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com> Diff: --- sysdeps/ieee754/dbl-64/s_nearbyint.c | 2 ++ sysdeps/ieee754/flt-32/s_nearbyintf.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sysdeps/ieee754/dbl-64/s_nearbyint.c b/sysdeps/ieee754/dbl-64/s_nearbyint.c index 08fe517b83..606002d680 100644 --- a/sysdeps/ieee754/dbl-64/s_nearbyint.c +++ b/sysdeps/ieee754/dbl-64/s_nearbyint.c @@ -72,4 +72,6 @@ __nearbyint (double x) return t; #endif /* ! USE_NEARBYINT_BUILTIN */ } +#ifndef __nearbyint libm_alias_double (__nearbyint, nearbyint) +#endif diff --git a/sysdeps/ieee754/flt-32/s_nearbyintf.c b/sysdeps/ieee754/flt-32/s_nearbyintf.c index b270749f4c..5dd0e8f8af 100644 --- a/sysdeps/ieee754/flt-32/s_nearbyintf.c +++ b/sysdeps/ieee754/flt-32/s_nearbyintf.c @@ -68,4 +68,6 @@ __nearbyintf (float x) return t; #endif /* ! USE_NEARBYINT_BUILTIN */ } +#ifndef __nearbyintf libm_alias_float (__nearbyint, nearbyint) +#endif
reply other threads:[~2024-05-20 12:21 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=20240520122156.649753858D1E@sourceware.org \ --to=hjl@sourceware.org \ --cc=glibc-cvs@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: linkBe 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).