summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2023-01-24 23:16:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2023-01-24 23:16:15 +0000
commit3938c0d859243fed5dca68c1103a1a4c5afb29e0 (patch)
tree141717e29d488221af9d6cf003cd862f562fc19e /gnu
parent0d6c0a0463a3eb305f6f6518a6d738ae8ecbdb34 (diff)
permit -execute-only on ppc64 (not default)
Diffstat (limited to 'gnu')
-rw-r--r--gnu/llvm/lld/ELF/Driver.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/llvm/lld/ELF/Driver.cpp b/gnu/llvm/lld/ELF/Driver.cpp
index 45c2d37d15f..b718f47358b 100644
--- a/gnu/llvm/lld/ELF/Driver.cpp
+++ b/gnu/llvm/lld/ELF/Driver.cpp
@@ -364,6 +364,7 @@ static void checkOptions() {
case EM_MIPS:
case EM_SPARCV9:
case EM_X86_64:
+ case EM_PPC64:
break;
default:
error("-execute-only is not supported on this target");