mips compile fix

Guido Guenther agx@sigxcpu.org
Wed May 21 15:01:00 GMT 2003


Hi,
attached patch defines SI_TKILL = -6 for mips. I moved SI_ASYNCNL to -60
to match other architectures and since SI_TKILL = -6 in the kernel
sources. I'm not sure where/if SI_ASYNCNL is used out of glibc, if so
it'd break binary compatibility and I have to think about another
solution.
Regards,
 -- Guido
-------------- next part --------------
2003-05-20  Guido Guenther  <agx@sigxcpu.org>

	* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: change SI_ASYNCNL to
	  -60 and define SI_TKILL

===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/mips/bits/siginfo.h,v
retrieving revision 1.9
diff -u -p -u -r1.9 siginfo.h
--- sysdeps/unix/sysv/linux/mips/bits/siginfo.h	5 Dec 2002 00:23:59 -0000	1.9
+++ sysdeps/unix/sysv/linux/mips/bits/siginfo.h	20 May 2003 12:57:08 -0000
@@ -119,8 +119,10 @@ typedef struct siginfo
    signals.  */
 enum
 {
-  SI_ASYNCNL = -6,		/* Sent by asynch name lookup completion.  */
+  SI_ASYNCNL = -60,		/* Sent by asynch name lookup completion.  */
 # define SI_ASYNCNL	SI_ASYNCNL
+  SI_TKILL = -6,		/* Sent by tkill. */
+# define SI_TKILL	SI_TKILL
   SI_SIGIO,			/* Sent by queued SIGIO. */
 # define SI_SIGIO	SI_SIGIO
   SI_MESGQ,			/* Sent by real time mesq state change.  */


More information about the Libc-alpha mailing list