From 069b7c3e7f33b4c7f0d6dd04939d6fc52a97fe53 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 13 Feb 2002 09:04:53 +0000 Subject: Update. 2002-02-12 Andreas Schwab * csu/gmon-start.c (__gmon_start__): Remove '&' from ENTRY_POINT. --- elf/dl-open.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'elf') 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 #include -#include 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); } -- cgit 1.4.1