[05/16] linux: Update mips vDSO symbols

Message ID 20191217214728.2886-5-adhemerval.zanella@linaro.org
State Accepted
Commit 7bcaf77574ae654974979c8c6d5f6a170c644a6e
Headers show
Series
  • [v2,01/16] linux: Fix vDSO macros build with time64 interfaces
Related show

Commit Message

Adhemerval Zanella Dec. 17, 2019, 9:47 p.m.
The clock_getres is a new implementation added on Linux 5.4
(abed3d826f2f).

Checked with a build against mips-linux-gnu and mips64-linux-gnu.
---
 sysdeps/unix/sysv/linux/mips/sysdep.h | 1 +
 1 file changed, 1 insertion(+)

-- 
2.17.1

Patch

diff --git a/sysdeps/unix/sysv/linux/mips/sysdep.h b/sysdeps/unix/sysv/linux/mips/sysdep.h
index 82a3cf9f3d..c2bec03806 100644
--- a/sysdeps/unix/sysv/linux/mips/sysdep.h
+++ b/sysdeps/unix/sysv/linux/mips/sysdep.h
@@ -22,6 +22,7 @@ 
 /* List of system calls which are supported as vsyscalls.  */
 #define HAVE_CLOCK_GETTIME_VSYSCALL     "__vdso_clock_gettime"
 #define HAVE_GETTIMEOFDAY_VSYSCALL      "__vdso_gettimeofday"
+#define HAVE_CLOCK_GETRES_VSYSCALL      "__vdso_clock_getres"
 
 #ifndef __ASSEMBLER__