[PATCH] Fix x86-64 linuxthreads

Jakub Jelinek jakub@redhat.com
Sun Apr 18 02:02:00 GMT 2004


Hi!

2004-04-17  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/x86_64/tls.h [!__ASSEMBLER__]: Include tcb-offsets.h.

--- libc/linuxthreads/sysdeps/x86_64/tls.h.jj	2003-07-21 13:41:09.000000000 +0200
+++ libc/linuxthreads/sysdeps/x86_64/tls.h	2004-04-17 13:14:25.328365129 +0200
@@ -41,6 +41,9 @@ typedef struct
   void *self;		/* Pointer to the thread descriptor.  */
   int multiple_threads;
 } tcbhead_t;
+
+#else /* __ASSEMBLER__ */
+# include <tcb-offsets.h>
 #endif
 
	Jakub



More information about the Libc-hacker mailing list