public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Fangrui Song <maskray@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc/maskray/grte] Work around clang problem with ifuncs and vdso Date: Sat, 28 Aug 2021 00:24:43 +0000 (GMT) [thread overview] Message-ID: <20210828002443.82A393857C78@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b35774068a3f606c1fb76476d3e695dc2dacb86e commit b35774068a3f606c1fb76476d3e695dc2dacb86e Author: Stan Shebs <stanshebs@google.com> Date: Tue Sep 25 07:58:13 2018 -0700 Work around clang problem with ifuncs and vdso Diff: --- sysdeps/unix/sysv/linux/powerpc/gettimeofday.c | 2 +- sysdeps/unix/sysv/linux/powerpc/time.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sysdeps/unix/sysv/linux/powerpc/gettimeofday.c b/sysdeps/unix/sysv/linux/powerpc/gettimeofday.c index 994a926a87..868e0918aa 100644 --- a/sysdeps/unix/sysv/linux/powerpc/gettimeofday.c +++ b/sysdeps/unix/sysv/linux/powerpc/gettimeofday.c @@ -23,7 +23,7 @@ #include <sys/time.h> -#ifdef SHARED +#if defined(SHARED) && !defined(__clang__) # include <dl-vdso.h> # include <libc-vdso.h> diff --git a/sysdeps/unix/sysv/linux/powerpc/time.c b/sysdeps/unix/sysv/linux/powerpc/time.c index 8814bcc14f..61965fe988 100644 --- a/sysdeps/unix/sysv/linux/powerpc/time.c +++ b/sysdeps/unix/sysv/linux/powerpc/time.c @@ -16,7 +16,7 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -#ifdef SHARED +#if defined(SHARED) && !defined(__clang__) # ifndef __powerpc64__ # define time __redirect_time # else
next reply other threads:[~2021-08-28 0:24 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-08-28 0:24 Fangrui Song [this message] -- strict thread matches above, loose matches on Subject: below -- 2021-08-27 23:47 Fangrui Song
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=20210828002443.82A393857C78@sourceware.org \ --to=maskray@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).