[PATCH] Update: cancellation support for linux-mips

Guido Guenther agx@sigxcpu.org
Mon Jan 27 20:22:00 GMT 2003


On Mon, Jan 27, 2003 at 11:04:03AM -0800, Ulrich Drepper wrote:
> I've applied this last patch.  Please make sure this means all necessary
> changes are in.
Thanks a lot. You skipped the SYSCALL_ERROR_LABEL part in sysdeps.h,
most likely because I forgot the changelog entry - patch attached.

It also seems the ChangeLog entry for the pread/pwrite modifitions is
missing, shall I resend it?
> 
> And for future patches: the linuxthreads subdir has its own ChangeLog.
> Please split the ChangeLog entries appropriately.
Oh yes, I got that right with the first patch I sent but totally forgot
about it in the second. I should be more careful with these, sorry.
 -- Guido
-------------- next part --------------
2003-01-27  Guido Guenther  <agx@sigxcpu.org>

	* sysdeps/unix/sysv/linux/mips/sysdep.h:
	  SYSCALL_ERROR_LABEL: Define.
	
+++ sysdeps/unix/sysv/linux/mips/sysdep.h	27 Jan 2003 19:47:17 -0000
@@ -33,7 +33,15 @@
 # define SYS_ify(syscall_name)	__NR_/**/syscall_name
 #endif
 
-#ifndef __ASSEMBLER__
+#ifdef __ASSEMBLER__
+
+/* We don't want the label for the error handler to be visible in the symbol
+   table when we define it here.  */
+#ifdef __PIC__
+# define SYSCALL_ERROR_LABEL 99b
+#endif
+
+#else   /* ! __ASSEMBLER__ */
 
 /* Define a macro which expands into the inline wrapper code for a system
    call.  */


More information about the Libc-alpha mailing list