diff options
Diffstat (limited to 'main/llvm5/fix-memory-mf_exec-on-aarch64.patch')
-rw-r--r-- | main/llvm5/fix-memory-mf_exec-on-aarch64.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/llvm5/fix-memory-mf_exec-on-aarch64.patch b/main/llvm5/fix-memory-mf_exec-on-aarch64.patch index 644c77790a..a70b397333 100644 --- a/main/llvm5/fix-memory-mf_exec-on-aarch64.patch +++ b/main/llvm5/fix-memory-mf_exec-on-aarch64.patch @@ -19,7 +19,7 @@ Upstream-Issue: https://bugs.llvm.org/show_bug.cgi?id=14278#c10 return PROT_READ | PROT_WRITE | PROT_EXEC; case llvm::sys::Memory::MF_EXEC: -#if defined(__FreeBSD__) -+#if defined(__FreeBSD__) || (defined(__linux__) && defined(__aarch64__)) ++#if defined(__FreeBSD__) || (defined(__linux__) && (defined(__aarch64__) || defined(__powerpc64__))) // On PowerPC, having an executable page that has no read permission // can have unintended consequences. The function InvalidateInstruction- // Cache uses instructions dcbf and icbi, both of which are treated by |