This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

dl-open.c sillyness


This fixes so that glibc once again compiles with --without-tls.

I have no idea what the ChangeLog entry should look like for a change
like this...

2005-03-20  Alfred M. Szmidt  <ams@gnu.org>

	* elf/dl-open.c (dl_open_worker): Fix typo.

Index: elf/dl-open.c
===================================================================
RCS file: /cvsroot/libc/libc/elf/dl-open.c,v
retrieving revision 1.123
diff -u -r1.123 dl-open.c
--- elf/dl-open.c	19 Mar 2005 07:50:49 -0000	1.123
+++ elf/dl-open.c	20 Mar 2005 16:37:43 -0000
@@ -462,8 +462,10 @@
 	  /* We have to bump the generation counter.  */
 	  any_tls = true;
 	}
+#endif
     }
 
+#if USE_TLS
   /* Bump the generation number if necessary.  */
   if (any_tls && __builtin_expect (++GL(dl_tls_generation) == 0, 0))
     _dl_fatal_printf (N_("\


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]