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

liaoxinglong at icubecorp.com liaoxinglong at icubecorp.com
Tue Feb 5 03:39:41 UTC 2013


      only mips define and use TLS_DTPREL_VALUE and TLS_TPREL_VALUE (ldso/ldso/mips/elfinterp.c), powerpc define but not use. removing mips architect specific is ok, for other architectures, it only means we include dl-tls.h but not use.

xinglong


>  -------Original Message-------
>  From: Vincent Wen <wenvincent90 at gmail.com>
>  To: uclibc at uclibc.org
>  Subject: Re: [PATCH] ldso/libdl: include dl-tls.h for mips static lin
>  Sent: Feb 05 '13 10:05
>  
>  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
>  >
>  >
>  _______________________________________________
>  uClibc mailing list
>  uClibc at uclibc.org
>  http://lists.busybox.net/mailman/listinfo/uclibc
>  


More information about the uClibc mailing list