summaryrefslogtreecommitdiff
path: root/gnu/llvm
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2023-01-14 16:15:44 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2023-01-14 16:15:44 +0000
commit59d720a10b92963d17b9dee6a3b9105dd66dffee (patch)
tree5fd34115292b6e8d7486704939f61e34452caac1 /gnu/llvm
parent6442da9932853b68b66269a669272de72978937f (diff)
Allow people to try --execute-only on amd64 and sparc64. the default is
changed.
Diffstat (limited to 'gnu/llvm')
-rw-r--r--gnu/llvm/lld/ELF/Driver.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/llvm/lld/ELF/Driver.cpp b/gnu/llvm/lld/ELF/Driver.cpp
index aaad7010b01..958fe0c2671 100644
--- a/gnu/llvm/lld/ELF/Driver.cpp
+++ b/gnu/llvm/lld/ELF/Driver.cpp
@@ -362,6 +362,8 @@ static void checkOptions() {
case EM_AARCH64:
case EM_RISCV:
case EM_MIPS:
+ case EM_SPARCV9:
+ case EM_X86_64:
break;
default:
error("-execute-only is not supported on this target");