ASSEMBLER -> __ASSEMBLER__

Samuel Thibault samuel.thibault@ens-lyon.org
Sat Jul 21 23:54:00 GMT 2007


Some Hurd files still use ASSEMBLER, the attached patch makes them use
__ASSEMBLER__.

Samuel
-------------- next part --------------
2006-06-13  Thomas Schwinge  <tschwinge@gnu.org>

	* sysdeps/mach/hurd/tls.h: Change `ASSEMBLER' conditional to
	`__ASSEMBLER__'.
	* sysdeps/mach/hurd/i386/tls.h: Likewise.

Index: sysdeps/mach/hurd/tls.h
===================================================================
--- sysdeps/mach/hurd/tls.h.orig
+++ sysdeps/mach/hurd/tls.h
@@ -20,7 +20,7 @@
 #ifndef _TLS_H
 #define _TLS_H
 
-#if defined HAVE_TLS_SUPPORT && !defined ASSEMBLER
+#if defined HAVE_TLS_SUPPORT && !defined __ASSEMBLER__
 
 # include <stddef.h>
 # include <stdbool.h>
Index: sysdeps/mach/hurd/i386/tls.h
===================================================================
--- sysdeps/mach/hurd/i386/tls.h.orig
+++ sysdeps/mach/hurd/i386/tls.h
@@ -29,7 +29,7 @@
    thread pointer points to is unspecified.  Allocate the TCB there.  */
 # define TLS_TCB_AT_TP	1
 
-# ifndef ASSEMBLER
+# ifndef __ASSEMBLER__
 
 /* Use i386-specific RPCs to arrange that %gs segment register prefix
    addresses the TCB in each thread.  */
@@ -165,7 +165,7 @@
   return err;
 }
 
-# endif	/* !ASSEMBLER */
+# endif	/* !__ASSEMBLER__ */
 #endif /* HAVE_TLS_SUPPORT */
 
 #endif	/* i386/tls.h */


More information about the Libc-alpha mailing list