On Friday 26 October 2012 07:12:25 Xinglong Liao wrote:
> without this patch, static link with libdl.a in mips will cause
> undefined reference error, TLS_DTPREL_VALUE and TLS_TPREL_VALUE
> used in function _dl_parse_relocation_information are defined in
> dl-tls.h
> 
> --- a/ldso/libdl/libdl.c
> +++ b/ldso/libdl/libdl.c
> 
> +# if defined(USE_TLS) && USE_TLS && defined(__mips__) && !defined(SHARED)
> +# include <dl-tls.h>
> +#endif

i can't see this being mips specific.  we also want to avoid arch-specific 
defines in common code whenever possible.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to