about summary refs log tree commit diff
path: root/elf/dl-open.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-02-13 09:04:53 +0000
committerUlrich Drepper <drepper@redhat.com>2002-02-13 09:04:53 +0000
commit069b7c3e7f33b4c7f0d6dd04939d6fc52a97fe53 (patch)
treeed4b3dc8809422e033ce895579f50d651c5fa5be /elf/dl-open.c
parentaed283dd456e7566cbfef88abe7b235ca77cc23c (diff)
downloadglibc-069b7c3e7f33b4c7f0d6dd04939d6fc52a97fe53.tar.gz
glibc-069b7c3e7f33b4c7f0d6dd04939d6fc52a97fe53.tar.xz
glibc-069b7c3e7f33b4c7f0d6dd04939d6fc52a97fe53.zip
Update.
2002-02-12  Andreas Schwab  <schwab@suse.de>

	* csu/gmon-start.c (__gmon_start__): Remove '&' from ENTRY_POINT.
Diffstat (limited to 'elf/dl-open.c')
-rw-r--r--elf/dl-open.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/dl-open.c b/elf/dl-open.c
index d9ed499054..c7acd74964 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -31,7 +31,6 @@
 #include <bp-sym.h>
 
 #include <dl-dst.h>
-#include <dl-tls.h>
 
 
 extern ElfW(Addr) _dl_sysdep_start (void **start_argptr,
@@ -498,12 +497,14 @@ _dl_open (const char *file, int mode, const void *caller)
 	    for (i = 0; i < args.map->l_searchlist.r_nlist; ++i)
 	      ++args.map->l_searchlist.r_list[i]->l_opencount;
 
+#ifdef USE_TLS
 	  /* Maybe some of the modules which were loaded uses TLS.
 	     Since it will be removed in the folowing _dl_close call
 	     we have to mark the dtv array as having gaps to fill
 	     the holes.  This is a pessimistic assumption which won't
 	     hurt if not true.  */
 	  GL(dl_tls_dtv_gaps) = true;
+#endif
 
 	  _dl_close (args.map);
 	}