about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2024-07-02 16:26:32 -0400
committerJohn David Anglin <danglin@gcc.gnu.org>2024-07-02 16:26:32 -0400
commit4737e6a7a3f98c8e2674e313cb09d7882583f5f0 (patch)
treedb360a604d5623a09557d10e6e85afb18e0897e5 /sysdeps/unix
parent9f80d8134a15235732586e238ac28cea459fb60b (diff)
downloadglibc-4737e6a7a3f98c8e2674e313cb09d7882583f5f0.tar.gz
glibc-4737e6a7a3f98c8e2674e313cb09d7882583f5f0.tar.xz
glibc-4737e6a7a3f98c8e2674e313cb09d7882583f5f0.zip
hppa/vdso: Provide 64-bit clock_gettime() vDSO only
Adhemerval noticed that the gettimeofday() and 32-bit clock_gettime()
vDSO calls won't be used by glibc on hppa, so there is no need to
declare them.  Both syscalls will be emulated by utilizing return values
of the 64-bit clock_gettime() vDSO instead.

Signed-off-by: Helge Deller <deller@gmx.de>
Suggested-by: Adhemerval Zanella Netto <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/hppa/sysdep.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/hppa/sysdep.h b/sysdeps/unix/sysv/linux/hppa/sysdep.h
index af62f7501e..e47975e5cf 100644
--- a/sysdeps/unix/sysv/linux/hppa/sysdep.h
+++ b/sysdeps/unix/sysv/linux/hppa/sysdep.h
@@ -473,11 +473,8 @@ L(pre_end):					ASM_LINE_SEP	\
 
 #ifdef __LP64__
 # define HAVE_CLOCK_GETTIME_VSYSCALL    "__vdso_clock_gettime"
-# define HAVE_GETTIMEOFDAY_VSYSCALL     "__vdso_gettimeofday"
 #else
-# define HAVE_CLOCK_GETTIME_VSYSCALL    "__vdso_clock_gettime"
 # define HAVE_CLOCK_GETTIME64_VSYSCALL  "__vdso_clock_gettime64"
-# define HAVE_GETTIMEOFDAY_VSYSCALL     "__vdso_gettimeofday"
 #endif /* __LP64__ */
 
 #endif	/* __ASSEMBLER__ */