projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove legacy clock_gettime and gettimeofday from public syscall.h
[musl]
/
arch
/
mipsn32
/
syscall_arch.h
diff --git
a/arch/mipsn32/syscall_arch.h
b/arch/mipsn32/syscall_arch.h
index
5a6da0e
..
c1a4b7d
100644
(file)
--- a/
arch/mipsn32/syscall_arch.h
+++ b/
arch/mipsn32/syscall_arch.h
@@
-3,9
+3,15
@@
#define SYSCALL_RLIM_INFINITY (-1UL/2)
#define SYSCALL_RLIM_INFINITY (-1UL/2)
+#if __mips_isa_rev >= 6
+#define SYSCALL_CLOBBERLIST \
+ "$1", "$3", "$10", "$11", "$12", "$13", \
+ "$14", "$15", "$24", "$25", "memory"
+#else
#define SYSCALL_CLOBBERLIST \
"$1", "$3", "$10", "$11", "$12", "$13", \
"$14", "$15", "$24", "$25", "hi", "lo", "memory"
#define SYSCALL_CLOBBERLIST \
"$1", "$3", "$10", "$11", "$12", "$13", \
"$14", "$15", "$24", "$25", "hi", "lo", "memory"
+#endif
static inline long __syscall0(long n)
{
static inline long __syscall0(long n)
{
@@
-110,7
+116,9
@@
static inline long __syscall6(long n, long a, long b, long c, long d, long e, lo
}
#define VDSO_USEFUL
}
#define VDSO_USEFUL
-#define VDSO_CGT_SYM "__vdso_clock_gettime"
+#define VDSO_CGT32_SYM "__vdso_clock_gettime"
+#define VDSO_CGT32_VER "LINUX_2.6"
+#define VDSO_CGT_SYM "__vdso_clock_gettime64"
#define VDSO_CGT_VER "LINUX_2.6"
#define SO_SNDTIMEO_OLD 0x1005
#define VDSO_CGT_VER "LINUX_2.6"
#define SO_SNDTIMEO_OLD 0x1005