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

Vincent Wen wenvincent90 at gmail.com
Tue Feb 5 02:05:28 UTC 2013


Mike,

I removed the mips architect specific statement and tested on mips.
Do you need help to test on other plamform like blackfin or ARM? Thanks.



--- a/ldso/libdl/libdl.c    2013-01-25 05:57:55.000000000 -0800
+++ b/ldso/libdl/libdl.c    2013-01-25 05:59:19.000000000 -0800
@@ -44,6 +44,10 @@
 extern void _dl_add_to_slotinfo(struct link_map  *l);
 #endif

+#if defined(USE_TLS) && !defined(SHARED)
+#include <dl-tls.h>
+#endif
+
 #ifdef SHARED
 # if defined(USE_TLS) && USE_TLS
 # include <dl-tls.h>




On Wed, Jan 30, 2013 at 4:22 PM, Vincent Wen <wenvincent90 at gmail.com> wrote:

> Mike,
>
> Our customer see the same problem when building static link of the
> Broadcom application software.  Applying the patch seems to help. Do you
> have any plan to add this to upstream?
>
> Thanks,
>
> Vincent
>
>


More information about the uClibc mailing list