permit -execute-only on ppc64 (not default)
authorderaadt <deraadt@openbsd.org>
Tue, 24 Jan 2023 23:16:14 +0000 (23:16 +0000)
committerderaadt <deraadt@openbsd.org>
Tue, 24 Jan 2023 23:16:14 +0000 (23:16 +0000)
gnu/llvm/lld/ELF/Driver.cpp

index 45c2d37..b718f47 100644 (file)
@@ -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");