MIPS NPTL patches
Khem Raj
raj.khem at gmail.com
Thu Apr 9 07:49:34 UTC 2009
On Wednesday 08 April 2009 10:16:23 pm Dan E wrote:
> Second patch.
>
> This prevents bad things from happening if the header file gets included more than once.
> This is pretty standard header file stuff.
thanks. I will apply this along with other files which needs similar change.
>
> ---------- start patch ----------
> Index: uClibc-nptl/libpthread/nptl/sysdeps/mips/dl-tls.h
> ===================================================================
> --- uClibc-nptl/libpthread/nptl/sysdeps/mips/dl-tls.h (revision 26031)
> +++ uClibc-nptl/libpthread/nptl/sysdeps/mips/dl-tls.h (working copy)
> @@ -17,6 +17,8 @@
> Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
> 02111-1307 USA. */
>
> +#ifndef _DL_TLS_H
> +#define _DL_TLS_H
>
> /* Type used for the representation of TLS information in the GOT. */
> typedef struct
> @@ -44,3 +46,5 @@
>
> # define GET_ADDR_OFFSET (ti->ti_offset + TLS_DTV_OFFSET)
> # define __TLS_GET_ADDR(__ti) (__tls_get_addr (__ti) - TLS_DTV_OFFSET)
> +
> +#endif /* dl-tls.h */
> ---------- end patch ------------
>
--
Khem Raj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20090409/7a65424c/attachment.pgp>
More information about the uClibc
mailing list