]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2003-07-14 Guido Guenther <agx@sigxcpu.org>
authorAndreas Jaeger <aj@suse.de>
Mon, 28 Jul 2003 18:45:38 +0000 (18:45 +0000)
committerAndreas Jaeger <aj@suse.de>
Mon, 28 Jul 2003 18:45:38 +0000 (18:45 +0000)
* sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Add IS_IN_librt,
use L() for local labels.
2003-07-14  Guido Guenther  <agx@sigxcpu.org>

* sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Add IS_IN_librt,
use L() for local labels.

linuxthreads/ChangeLog
linuxthreads/sysdeps/unix/sysv/linux/mips/sysdep-cancel.h

index 9a495170b7fbc14c04f8b517f4a9240fc6416f2d..ca31927b61c6508323b4bb471b8d45d20a7a8791 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-14  Guido Guenther  <agx@sigxcpu.org>
+
+       * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Add IS_IN_librt,
+       use L() for local labels.
+
 2003-07-22  Jakub Jelinek  <jakub@redhat.com>
 
        * descr.h (struct _pthread_descr_struct): Provide p_res member
index 90dacfe2f22e7138dd62a6defa36503fc998287b..db30c96c24779526b54c1db839f361735a875223 100644 (file)
@@ -22,7 +22,7 @@
 # include <linuxthreads/internals.h>
 #endif
 
-#if !defined NOT_IN_libc || defined IS_IN_libpthread
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
 
 #ifdef __PIC__
 # undef PSEUDO
     .cpload t9;                                                                      \
     .set reorder;                                                            \
     SINGLE_THREAD_P(t0);                                                     \
-    bne zero, t0, Lpseudo_cancel;                                            \
+    bne zero, t0, L(pseudo_cancel);                                          \
     .set noreorder;                                                          \
     li v0, SYS_ify(syscall_name);                                            \
     syscall;                                                                 \
     .set reorder;                                                            \
     bne a3, zero, SYSCALL_ERROR_LABEL;                                       \
     ret;                                                                     \
-  Lpseudo_cancel:                                                            \
+  L(pseudo_cancel):                                                          \
     SAVESTK_##args;                                                          \
     sw ra, 28(sp);                                                           \
     sw gp, 32(sp);                                                           \
@@ -65,7 +65,7 @@
     lw ra, 28(sp);                     /* restore return address */          \
     RESTORESTK;                                                                      \
     bne a3, zero, SYSCALL_ERROR_LABEL;                                       \
-  Lpseudo_end:
+  L(pseudo_end):
 #endif
 
 # define PUSHARGS_0    /* nothing to do */