aboutsummaryrefslogtreecommitdiff
path: root/linux/mips
diff options
context:
space:
mode:
Diffstat (limited to 'linux/mips')
-rw-r--r--linux/mips/arch_defs_.h2
-rw-r--r--linux/mips/syscallent-n32.h10
-rw-r--r--linux/mips/syscallent-n64.h10
-rw-r--r--linux/mips/syscallent-o32.h11
4 files changed, 18 insertions, 15 deletions
diff --git a/linux/mips/arch_defs_.h b/linux/mips/arch_defs_.h
new file mode 100644
index 000000000..f6fe59e5e
--- /dev/null
+++ b/linux/mips/arch_defs_.h
@@ -0,0 +1,2 @@
+#define HAVE_ARCH_GETRVAL2 1
+#define HAVE_ARCH_DEDICATED_ERR_REG 1
diff --git a/linux/mips/syscallent-n32.h b/linux/mips/syscallent-n32.h
index 748e09cc4..c7d35adfe 100644
--- a/linux/mips/syscallent-n32.h
+++ b/linux/mips/syscallent-n32.h
@@ -234,12 +234,12 @@
[6231] = { 6, TM, SEN(mbind), "mbind" },
[6232] = { 5, TM, SEN(get_mempolicy), "get_mempolicy" },
[6233] = { 3, TM, SEN(set_mempolicy), "set_mempolicy" },
-[6234] = { 4, 0, SEN(mq_open), "mq_open" },
+[6234] = { 4, TD, SEN(mq_open), "mq_open" },
[6235] = { 1, 0, SEN(mq_unlink), "mq_unlink" },
-[6236] = { 5, 0, SEN(mq_timedsend), "mq_timedsend" },
-[6237] = { 5, 0, SEN(mq_timedreceive), "mq_timedreceive" },
-[6238] = { 2, 0, SEN(mq_notify), "mq_notify" },
-[6239] = { 3, 0, SEN(mq_getsetattr), "mq_getsetattr" },
+[6236] = { 5, TD, SEN(mq_timedsend), "mq_timedsend" },
+[6237] = { 5, TD, SEN(mq_timedreceive), "mq_timedreceive" },
+[6238] = { 2, TD, SEN(mq_notify), "mq_notify" },
+[6239] = { 3, TD, SEN(mq_getsetattr), "mq_getsetattr" },
[6240] = { 5, 0, SEN(vserver), "vserver" },
[6241] = { 5, TP, SEN(waitid), "waitid" },
[6242] = { },
diff --git a/linux/mips/syscallent-n64.h b/linux/mips/syscallent-n64.h
index cc0936677..3e5584891 100644
--- a/linux/mips/syscallent-n64.h
+++ b/linux/mips/syscallent-n64.h
@@ -230,12 +230,12 @@
[5227] = { 6, TM, SEN(mbind), "mbind" },
[5228] = { 5, TM, SEN(get_mempolicy), "get_mempolicy" },
[5229] = { 3, TM, SEN(set_mempolicy), "set_mempolicy" },
-[5230] = { 4, 0, SEN(mq_open), "mq_open" },
+[5230] = { 4, TD, SEN(mq_open), "mq_open" },
[5231] = { 1, 0, SEN(mq_unlink), "mq_unlink" },
-[5232] = { 5, 0, SEN(mq_timedsend), "mq_timedsend" },
-[5233] = { 5, 0, SEN(mq_timedreceive), "mq_timedreceive" },
-[5234] = { 2, 0, SEN(mq_notify), "mq_notify" },
-[5235] = { 3, 0, SEN(mq_getsetattr), "mq_getsetattr" },
+[5232] = { 5, TD, SEN(mq_timedsend), "mq_timedsend" },
+[5233] = { 5, TD, SEN(mq_timedreceive), "mq_timedreceive" },
+[5234] = { 2, TD, SEN(mq_notify), "mq_notify" },
+[5235] = { 3, TD, SEN(mq_getsetattr), "mq_getsetattr" },
[5236] = { 5, 0, SEN(vserver), "vserver" },
[5237] = { 5, TP, SEN(waitid), "waitid" },
[5238] = { },
diff --git a/linux/mips/syscallent-o32.h b/linux/mips/syscallent-o32.h
index 5ac79b5fc..404190730 100644
--- a/linux/mips/syscallent-o32.h
+++ b/linux/mips/syscallent-o32.h
@@ -1,5 +1,6 @@
#if defined LINUX_MIPSO32
/* For an O32 strace, decode the o32 syscalls. */
+# define SYS_syscall_subcall 4000
[4000] = { MA, 0, SEN(syscall), "syscall" }, /* start of Linux o32 */
[4001] = { 1, TP|SE, SEN(exit), "exit" },
[4002] = { 0, TP, SEN(fork), "fork" },
@@ -271,12 +272,12 @@
[4268] = { 6, TM, SEN(mbind), "mbind" },
[4269] = { 5, TM, SEN(get_mempolicy), "get_mempolicy" },
[4270] = { 3, TM, SEN(set_mempolicy), "set_mempolicy" },
-[4271] = { 4, 0, SEN(mq_open), "mq_open" },
+[4271] = { 4, TD, SEN(mq_open), "mq_open" },
[4272] = { 1, 0, SEN(mq_unlink), "mq_unlink" },
-[4273] = { 5, 0, SEN(mq_timedsend), "mq_timedsend" },
-[4274] = { 5, 0, SEN(mq_timedreceive), "mq_timedreceive" },
-[4275] = { 2, 0, SEN(mq_notify), "mq_notify" },
-[4276] = { 3, 0, SEN(mq_getsetattr), "mq_getsetattr" },
+[4273] = { 5, TD, SEN(mq_timedsend), "mq_timedsend" },
+[4274] = { 5, TD, SEN(mq_timedreceive), "mq_timedreceive" },
+[4275] = { 2, TD, SEN(mq_notify), "mq_notify" },
+[4276] = { 3, TD, SEN(mq_getsetattr), "mq_getsetattr" },
[4277] = { 5, 0, SEN(vserver), "vserver" },
[4278] = { 5, TP, SEN(waitid), "waitid" },
[4279] = { },