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

Unified Diff: newlib/libc/string/memmove.c

Issue 855013002: Make mem{cpy,move,set} pnacl bitcode disablement apply to biased bitcode. (Closed) Base URL: https://chromium.googlesource.com/native_client/nacl-newlib.git@master
Patch Set: comment everywhere Created 5 years, 11 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/libc/string/memcpy.c ('k') | newlib/libc/string/memset.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: newlib/libc/string/memmove.c
diff --git a/newlib/libc/string/memmove.c b/newlib/libc/string/memmove.c
index 36b2068e6bb2704b1a65188b37a2cc2c97a65bdc..0203c808462600d16d876d5226fa313556157c6c 100644
--- a/newlib/libc/string/memmove.c
+++ b/newlib/libc/string/memmove.c
@@ -37,9 +37,11 @@ QUICKREF
/*
* The body of this function should not appear in PNaCl bitcode.
+ * We use PNACL_BITCODE instead of __le32__ or __pnacl__ since this
+ * should also apply to biased bitcode.
* See https://code.google.com/p/nativeclient/issues/detail?id=3493
*/
-#ifndef __pnacl__
+#ifndef PNACL_BITCODE
#include <string.h>
#include <_ansi.h>
@@ -149,4 +151,4 @@ _DEFUN (memmove, (dst_void, src_void, length),
#endif /* not PREFER_SIZE_OVER_SPEED */
}
-#endif /* __pnacl__ */
+#endif /* PNACL_BITCODE */
« no previous file with comments | « newlib/libc/string/memcpy.c ('k') | newlib/libc/string/memset.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698