Index: newlib/libc/machine/i386/i386mach.h |
diff --git a/newlib/libc/machine/i386/i386mach.h b/newlib/libc/machine/i386/i386mach.h |
index 23c32190d21664a2ac7a6c611bea7a94c067a6cc..4de35bbd2a5c9c76d505bf90f5e6db23f9a6bf4b 100644 |
--- a/newlib/libc/machine/i386/i386mach.h |
+++ b/newlib/libc/machine/i386/i386mach.h |
@@ -12,6 +12,11 @@ |
#define __USER_LABEL_PREFIX__ _ |
#endif |
+/* x86 nacl-gas has a builtin symbol NACLENTRYALIGN (which the .S files were |
+ * written to use), but llvm's assembler does not. So use a define for |
+ * compatibility with both. */ |
+#define NACLENTRYALIGN 5 |
+ |
#define __REG_PREFIX__ % |
/* ANSI concatenation macros. */ |