Allow people to try --execute-only on amd64 and sparc64. the default is
authorderaadt <deraadt@openbsd.org>
Sat, 14 Jan 2023 16:15:43 +0000 (16:15 +0000)
committerderaadt <deraadt@openbsd.org>
Sat, 14 Jan 2023 16:15:43 +0000 (16:15 +0000)
changed.

gnu/llvm/lld/ELF/Driver.cpp

index aaad701..958fe0c 100644 (file)
@@ -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");