This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
MIPS LinuxThreads fix
- From: Daniel Jacobowitz <drow at false dot org>
- To: libc-ports at sourceware dot org
- Date: Thu, 2 Mar 2006 20:19:07 -0500
- Subject: MIPS LinuxThreads fix
This is needed for any LinuxThreads build; checked in.
--
Daniel Jacobowitz
CodeSourcery
2006-03-02 Daniel Jacobowitz <dan@codesourcery.com>
* sysdeps/mips/tls.h: Include <sysdep.h>.
Index: libc/linuxthreads/sysdeps/mips/tls.h
===================================================================
--- libc.orig/linuxthreads/sysdeps/mips/tls.h 2005-03-28 04:18:36.000000000 -0500
+++ libc/linuxthreads/sysdeps/mips/tls.h 2006-03-02 12:54:41.000000000 -0500
@@ -131,6 +131,9 @@ typedef struct
/* Return dtv of given thread descriptor. */
# define GET_DTV(TCBP) (((tcbhead_t *) (TCBP))[-1].dtv)
+/* Get system call information. */
+# include <sysdep.h>
+
/* Code to initially initialize the thread pointer. This might need
special attention since 'errno' is not yet available and if the
operation can cause a failure 'errno' must not be touched. */