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

Unified Diff: newlib/libc/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 | « no previous file | newlib/libm/machine/i386/f_ldexp.S » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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. */
« no previous file with comments | « no previous file | newlib/libm/machine/i386/f_ldexp.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698