* sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
authorDaniel Jacobowitz <dan@codesourcery.com>
Tue, 31 Oct 2006 17:39:15 +0000 (17:39 +0000)
committerDaniel Jacobowitz <dan@codesourcery.com>
Tue, 31 Oct 2006 17:39:15 +0000 (17:39 +0000)
(RTLD_SINGLE_THREAD_P): Define.
* sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.

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

index 9c0ccf5..7c46aa1 100644 (file)
@@ -1,3 +1,9 @@
+2006-10-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
+       (RTLD_SINGLE_THREAD_P): Define.
+       * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
+
 2006-10-31  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
index e184c91..7e9d4bf 100644 (file)
 # define NO_CANCELLATION 1
 
 #endif
+
+#ifndef __ASSEMBLER__
+# define RTLD_SINGLE_THREAD_P \
+  __builtin_expect (THREAD_GETMEM (THREAD_SELF, \
+                                  header.multiple_threads) == 0, 1)
+#endif
index 02508e2..f2bf2d7 100644 (file)
 # define NO_CANCELLATION 1
 
 #endif
+
+#ifndef __ASSEMBLER__
+# define RTLD_SINGLE_THREAD_P \
+  __builtin_expect (THREAD_GETMEM (THREAD_SELF, \
+                                  header.multiple_threads) == 0, 1)
+#endif