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

Unified Diff: newlib/libc/string/memset.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/memmove.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: newlib/libc/string/memset.c
diff --git a/newlib/libc/string/memset.c b/newlib/libc/string/memset.c
index b05af2090da4a6c39ec27a2a2647f40863378050..6c417af552ede103ad9306608638c32cbfc5ddc0 100644
--- a/newlib/libc/string/memset.c
+++ b/newlib/libc/string/memset.c
@@ -35,9 +35,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 "local.h"
@@ -109,4 +111,4 @@ _DEFUN (memset, (m, c, n),
return m;
}
-#endif /* __pnacl__ */
+#endif /* PNACL_BITCODE */
« no previous file with comments | « newlib/libc/string/memmove.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698