Use of dl-tls.h
Andreas Schwab
schwab@suse.de
Sun Mar 7 15:53:00 GMT 2004
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."
More information about the Libc-hacker
mailing list