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

Unified Diff: src/trusted/service_runtime/elf_util.c

Issue 1234393005: A mechanism to identify/forbid/"rewrite" non-temporal instructions (and other) (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Fixing nits Created 5 years, 5 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
Index: src/trusted/service_runtime/elf_util.c
diff --git a/src/trusted/service_runtime/elf_util.c b/src/trusted/service_runtime/elf_util.c
index f59e5bb468194054fc3ee39e5015aafb2d312df0..493b7275267083b51407fb9bef8c46522799ed8c 100644
--- a/src/trusted/service_runtime/elf_util.c
+++ b/src/trusted/service_runtime/elf_util.c
@@ -648,6 +648,7 @@ static NaClErrorCode NaClElfFileMapSegment(struct NaClApp *nap,
(uint8_t *) image_sys_addr,
segment_size, /* actual size */
0, /* stubout_mode: no */
+ nap->pnacl_mode ? DISABLE_NONTEMPORALS : 0,
1, /* readonly_text: yes */
nap->cpu_features,
&metadata,

Powered by Google App Engine
This is Rietveld 408576698