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, |