aboutsummaryrefslogtreecommitdiffstats
path: root/main/llvm5/fix-memory-mf_exec-on-aarch64.patch
diff options
context:
space:
mode:
authorMike Sullivan <mksully22@gmail.com>2019-05-06 13:22:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-08 13:13:59 +0000
commit4b8e007d440b5cfa6ca95cedb193bbc9083b63a5 (patch)
tree77200c2c2b34e0970b3fe7f62263b14afe406232 /main/llvm5/fix-memory-mf_exec-on-aarch64.patch
parent00523e06f73f0a507e69166e5db05d027f357c8a (diff)
downloadaports-4b8e007d440b5cfa6ca95cedb193bbc9083b63a5.tar.bz2
aports-4b8e007d440b5cfa6ca95cedb193bbc9083b63a5.tar.xz
main/llvm5: fix ppc64le bld test err because of memory access and update checksum
Diffstat (limited to 'main/llvm5/fix-memory-mf_exec-on-aarch64.patch')
-rw-r--r--main/llvm5/fix-memory-mf_exec-on-aarch64.patch2
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