X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=arch%2Fmipsn32%2Fsyscall_arch.h;h=c1a4b7da3091f5d5b75f5ad2dde606a301e98ec9;hb=5a105f19b5aae79dd302899e634b6b18b3dcd0d6;hp=5a6da0edff9c1f7be480b17b117fe7133ae0a6d3;hpb=51fd67fcbfa598e2fe1885b517451b84c0bfe3b7;p=musl diff --git a/arch/mipsn32/syscall_arch.h b/arch/mipsn32/syscall_arch.h index 5a6da0ed..c1a4b7da 100644 --- a/arch/mipsn32/syscall_arch.h +++ b/arch/mipsn32/syscall_arch.h @@ -3,9 +3,15 @@ #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" +#endif 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_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