[PATCH] Fix --without-tls IA-32 glibc build

Jakub Jelinek jakub@redhat.com
Sun Jun 1 22:34:00 GMT 2003


Hi!

If --without-tls, tls.h doesn't include sysdep.h and we die with
dl-runtime.c:239: syntax error before "CFI_STARTPROC"

2003-06-01  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/i386/dl-machine.h: Include sysdep.h.

--- libc/sysdeps/i386/dl-machine.h	1 Jun 2003 21:41:31 -0000	1.1.1.34
+++ libc/sysdeps/i386/dl-machine.h	1 Jun 2003 22:07:51 -0000	1.27
@@ -23,7 +23,7 @@
 #define ELF_MACHINE_NAME "i386"
 
 #include <sys/param.h>
-
+#include <sysdep.h>
 #include <tls.h>
 
 /* Return nonzero iff ELF header is compatible with the running host.  */

	Jakub



More information about the Libc-hacker mailing list