public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* Use of dl-tls.h
@ 2004-03-07 15:53 Andreas Schwab
  2004-03-07 19:32 ` Ulrich Drepper
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2004-03-07 15:53 UTC (permalink / raw)
  To: libc-hacker

dl-tls.h should only be included when USE_TLS.

Andreas.

2004-03-07  Andreas Schwab  <schwab@suse.de>

	* elf/dl-sym.c: Include <dl-tls.h> only when USE_TLS.

--- elf/dl-sym.c.~1.19.~	2004-03-07 15:25:31.000000000 +0100
+++ elf/dl-sym.c	2004-03-07 16:51:14.836143432 +0100
@@ -24,7 +24,9 @@
 #include <dlfcn.h>
 #include <ldsodefs.h>
 #include <dl-hash.h>
-#include <dl-tls.h>
+#ifdef USE_TLS
+# include <dl-tls.h>
+#endif
 
 
 #if defined USE_TLS && defined SHARED

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Use of dl-tls.h
  2004-03-07 15:53 Use of dl-tls.h Andreas Schwab
@ 2004-03-07 19:32 ` Ulrich Drepper
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2004-03-07 19:32 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: libc-hacker

Andreas Schwab wrote:
> dl-tls.h should only be included when USE_TLS.

Applied.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-07 19:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-07 15:53 Use of dl-tls.h Andreas Schwab
2004-03-07 19:32 ` Ulrich Drepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).