diff options
author | Daniel Jacobowitz <dan@codesourcery.com> | 2006-10-31 17:39:15 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@codesourcery.com> | 2006-10-31 17:39:15 +0000 |
commit | 3ed8d993f9ff5a68606a4c20d87e70f981fc227c (patch) | |
tree | 9bb7c362e82275a763bc563d377008312f8e7ab3 | |
parent | 80d6637fd2862a4eef1a581a2ffbb75cb2de8398 (diff) | |
download | glibc-3ed8d993f9ff5a68606a4c20d87e70f981fc227c.tar glibc-3ed8d993f9ff5a68606a4c20d87e70f981fc227c.tar.gz glibc-3ed8d993f9ff5a68606a4c20d87e70f981fc227c.tar.bz2 glibc-3ed8d993f9ff5a68606a4c20d87e70f981fc227c.zip |
* 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.
-rw-r--r-- | ChangeLog.mips | 6 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h | 6 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog.mips b/ChangeLog.mips index 9c0ccf5480..7c46aa117c 100644 --- a/ChangeLog.mips +++ b/ChangeLog.mips @@ -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 diff --git a/sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h b/sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h index e184c91236..7e9d4bfa9c 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h +++ b/sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h @@ -181,3 +181,9 @@ # define NO_CANCELLATION 1 #endif + +#ifndef __ASSEMBLER__ +# define RTLD_SINGLE_THREAD_P \ + __builtin_expect (THREAD_GETMEM (THREAD_SELF, \ + header.multiple_threads) == 0, 1) +#endif diff --git a/sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h b/sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h index 02508e2155..f2bf2d7129 100644 --- a/sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h +++ b/sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h @@ -168,3 +168,9 @@ # define NO_CANCELLATION 1 #endif + +#ifndef __ASSEMBLER__ +# define RTLD_SINGLE_THREAD_P \ + __builtin_expect (THREAD_GETMEM (THREAD_SELF, \ + header.multiple_threads) == 0, 1) +#endif |