Index: newlib/libm/machine/i386/i386mach.h |
diff --git a/newlib/libm/machine/i386/i386mach.h b/newlib/libm/machine/i386/i386mach.h |
index 23c32190d21664a2ac7a6c611bea7a94c067a6cc..0a475c8edeb1b27cb97a670b47f25d97a84542d8 100644 |
--- a/newlib/libm/machine/i386/i386mach.h |
+++ b/newlib/libm/machine/i386/i386mach.h |
@@ -14,6 +14,10 @@ |
#define __REG_PREFIX__ % |
+ /* 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 |
/* ANSI concatenation macros. */ |
#define CONCAT1(a, b) CONCAT2(a, b) |