]> granicus.if.org Git - strace/commitdiff
xlat: fix SI_* fallback definitions on mips
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 29 Apr 2018 21:59:55 +0000 (21:59 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 29 Apr 2018 21:59:55 +0000 (21:59 +0000)
* xlat/siginfo_codes.in [mips] (SI_ASYNCIO, SI_TIMER, SI_MESGQ): Define
to -2, -3, and -4, respectively.

xlat/siginfo_codes.in

index a57c370c4fafc4c0a03d8610c64c5ce5c0f0315b..968c660c8492e344950a8d283ad644ff250bff99 100644 (file)
@@ -1,9 +1,17 @@
 SI_USER 0
 SI_KERNEL 0x80
 SI_QUEUE -1
+
+#ifdef __mips__
+SI_ASYNCIO -2
+SI_TIMER -3
+SI_MESGQ -4
+#else
 SI_TIMER -2
 SI_MESGQ -3
 SI_ASYNCIO -4
+#endif
+
 SI_SIGIO -5
 SI_TKILL -6
 SI_DETHREAD -7