diff options
author | Stan Shebs <stanshebs@google.com> | 2018-09-25 07:58:13 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2021-08-27 17:23:12 -0700 |
commit | b35774068a3f606c1fb76476d3e695dc2dacb86e (patch) | |
tree | 8702438034de7fdc84b819cce84948224f858b9d | |
parent | 96509a9dcec99892802cdf7ac16f9b5e51ffccde (diff) | |
download | glibc-b35774068a3f606c1fb76476d3e695dc2dacb86e.tar.gz |
Work around clang problem with ifuncs and vdso
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/gettimeofday.c | 2 | ||||
-rw-r--r-- | 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 |