From b8052447f4f09171bd5ab4fd82cc8bec90e7f5aa Mon Sep 17 00:00:00 2001 From: deraadt Date: Sat, 14 Jan 2023 16:15:43 +0000 Subject: [PATCH] Allow people to try --execute-only on amd64 and sparc64. the default is changed. --- gnu/llvm/lld/ELF/Driver.cpp | 2 ++ 1 file changed, 2 insertions(+) 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"); -- 2.20.1