Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(502)

Unified Diff: newlib/libm/machine/i386/i386mach.h

Issue 961083002: Make x86-32 assembly compatible with LLVM's integrated assembler (Closed) Base URL: https://chromium.googlesource.com/native_client/nacl-newlib.git@master
Patch Set: review Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « newlib/libm/machine/i386/f_ldexpf.S ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « newlib/libm/machine/i386/f_ldexpf.S ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698