about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-12-20 09:58:33 +0000
committerUlrich Drepper <drepper@redhat.com>2003-12-20 09:58:33 +0000
commitbbe35eb57144c081d10e76e35e52e9b400202b72 (patch)
treed3b9790c597dffef635cbce1e01f983e6fc41a98 /elf
parent4efdd8d355a378ab85278bef1c00c05c46ab49e4 (diff)
downloadglibc-bbe35eb57144c081d10e76e35e52e9b400202b72.tar.gz
glibc-bbe35eb57144c081d10e76e35e52e9b400202b72.tar.xz
glibc-bbe35eb57144c081d10e76e35e52e9b400202b72.zip
Update.
2003-12-20  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/Makefile (CFLAGS-getpid.c): Define.
	* sysdeps/unix/sysv/linux/getpid.c: New file.
Diffstat (limited to 'elf')
-rw-r--r--elf/rtld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index a0a50b10de..392ccb6dcb 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -1310,7 +1310,7 @@ of this helper program; chances are you did not intend to run this program.\n\
      an old kernel that can't perform TLS_INIT_TP, even if no TLS is ever
      used.  Trying to do it lazily is too hairy to try when there could be
      multiple threads (from a non-TLS-using libpthread).  */
-  if (GL(dl_tls_max_dtv_idx) > 0 || !TLS_INIT_TP_EXPENSIVE)
+  if (!TLS_INIT_TP_EXPENSIVE || GL(dl_tls_max_dtv_idx) > 0)
     {
       struct link_map *l;
       size_t nelem;