VKI_ENOSYS and VKI_EOVERFLOW don't have the same generic values for mips32/64.
We need to define these values for every Linux arch.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13852
#define VKI_PTRACE_GETFPREGS 14
#define VKI_PTRACE_SETFPREGS 15
+//----------------------------------------------------------------------
+// From linux-2.6.8.1/include/asm-generic/errno.h
+//----------------------------------------------------------------------
+
+#define VKI_ENOSYS 38 /* Function not implemented */
+#define VKI_EOVERFLOW 75 /* Value too large for defined data type */
+
//----------------------------------------------------------------------
// And that's it!
//----------------------------------------------------------------------
#define VKI_HWCAP_NEON 4096
+//----------------------------------------------------------------------
+// From linux-2.6.8.1/include/asm-generic/errno.h
+//----------------------------------------------------------------------
+
+#define VKI_ENOSYS 38 /* Function not implemented */
+#define VKI_EOVERFLOW 75 /* Value too large for defined data type */
+
//----------------------------------------------------------------------
// And that's it!
//----------------------------------------------------------------------
//#define VKI_PTRACE_GETFPREGS 14
//#define VKI_PTRACE_SETFPREGS 15
+//----------------------------------------------------------------------
+// From linux-2.6.8.1/include/asm-generic/errno.h
+//----------------------------------------------------------------------
+
+#define VKI_ENOSYS 38 /* Function not implemented */
+#define VKI_EOVERFLOW 75 /* Value too large for defined data type */
+
//----------------------------------------------------------------------
// And that's it!
//----------------------------------------------------------------------
#define VKI_EWOULDBLOCK VKI_EAGAIN
-#define VKI_ENOSYS 38 /* Function not implemented */
-#define VKI_EOVERFLOW 75 /* Value too large for defined data type */
-
//----------------------------------------------------------------------
// From linux-2.6.8.1/include/linux/wait.h
//----------------------------------------------------------------------
};
#define ARCH_HAS_SOCKET_TYPES 1
+//----------------------------------------------------------------------
+// From linux-3.13.0/include/asm/errno.h
+//----------------------------------------------------------------------
+
+#define VKI_ENOSYS 89 /* Function not implemented */
+#define VKI_EOVERFLOW 79 /* Value too large for defined data type */
+
#endif // __VKI_MIPS32_LINUX_H
/*--------------------------------------------------------------------*/
};
#define ARCH_HAS_SOCKET_TYPES 1
+//----------------------------------------------------------------------
+// From linux-3.13.0/include/asm/errno.h
+//----------------------------------------------------------------------
+
+#define VKI_ENOSYS 89 /* Function not implemented */
+#define VKI_EOVERFLOW 79 /* Value too large for defined data type */
+
#endif // __VKI_MIPS64_LINUX_H
/*--------------------------------------------------------------------*/
unsigned long __unused4;
};
+//----------------------------------------------------------------------
+// From linux-2.6.8.1/include/asm-generic/errno.h
+//----------------------------------------------------------------------
+
+#define VKI_ENOSYS 38 /* Function not implemented */
+#define VKI_EOVERFLOW 75 /* Value too large for defined data type */
+
//.. //----------------------------------------------------------------------
//.. // DRM ioctls
//.. //----------------------------------------------------------------------
unsigned long __unused4;
};
+//----------------------------------------------------------------------
+// From linux-2.6.8.1/include/asm-generic/errno.h
+//----------------------------------------------------------------------
+
+#define VKI_ENOSYS 38 /* Function not implemented */
+#define VKI_EOVERFLOW 75 /* Value too large for defined data type */
+
//----------------------------------------------------------------------
// end
//----------------------------------------------------------------------
an error condition. I.e. the system call failed. */
#define VKI_MAX_ERRNO -125
+//----------------------------------------------------------------------
+// From linux-2.6.8.1/include/asm-generic/errno.h
+//----------------------------------------------------------------------
+
+#define VKI_ENOSYS 38 /* Function not implemented */
+#define VKI_EOVERFLOW 75 /* Value too large for defined data type */
+
#endif // __VKI_S390X_LINUX_H
/*--------------------------------------------------------------------*/
struct vki_vm86plus_info_struct vm86plus;
};
+//----------------------------------------------------------------------
+// From linux-2.6.8.1/include/asm-generic/errno.h
+//----------------------------------------------------------------------
+
+#define VKI_ENOSYS 38 /* Function not implemented */
+#define VKI_EOVERFLOW 75 /* Value too large for defined data type */
+
//----------------------------------------------------------------------
// And that's it!
//----------------------------------------------------------------------