dl-open.c sillyness

Alfred M. Szmidt ams@kemisten.nu
Sun Mar 20 16:56:00 GMT 2005


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_("\



More information about the Libc-alpha mailing list