[PATCH] ldso/libdl: include dl-tls.h for mips static lin

Vincent Wen wenvincent90 at gmail.com
Fri Feb 15 18:34:54 UTC 2013


Yes this patch should stand right.


--- a/ldso/libdl/libdl.c        2013-02-07 08:44:02.000000000 -0800
+++ b/ldso/libdl/libdl.c        2013-02-07 08:44:47.000000000 -0800
@@ -44,9 +44,12 @@
 extern void _dl_add_to_slotinfo(struct link_map  *l);
 #endif

-#ifdef SHARED
 # if defined(USE_TLS) && USE_TLS
 # include <dl-tls.h>
+# endif
+
+#ifdef SHARED
+# if defined(USE_TLS) && USE_TLS
 extern struct link_map *_dl_update_slotinfo(unsigned long int req_modid);
 # endif


Thanks,

Vincent


More information about the uClibc mailing list