]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* 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 9c0ccf5480e7ba9f51713b7ffae01fc092a4aedb..7c46aa117ce3cc1fe360bc8d0496be2a7558d0dd 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 e184c912361fae89f945b54de00a4c0afb17dbbe..7e9d4bfa9c7c1aeb36cb42ab0385f7f37754dd97 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 02508e2155a1cff0eedf1f97dc753a595d3a7c94..f2bf2d71291734c55eeed3522fb6bfb0c3adbdb7 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