diff options
-rw-r--r-- | gnu/llvm/lld/ELF/Driver.cpp | 1 | ||||
-rw-r--r-- | gnu/llvm/lld/docs/ld.lld.1 | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/gnu/llvm/lld/ELF/Driver.cpp b/gnu/llvm/lld/ELF/Driver.cpp index fe7258bdc20..af74c63cc2d 100644 --- a/gnu/llvm/lld/ELF/Driver.cpp +++ b/gnu/llvm/lld/ELF/Driver.cpp @@ -1487,6 +1487,7 @@ static void setConfigs(opt::InputArgList &args) { case EM_PPC: case EM_PPC64: case EM_RISCV: + case EM_SPARCV9: case EM_X86_64: config->executeOnly = true; break; diff --git a/gnu/llvm/lld/docs/ld.lld.1 b/gnu/llvm/lld/docs/ld.lld.1 index b1d04e97079..e0d792b55f1 100644 --- a/gnu/llvm/lld/docs/ld.lld.1 +++ b/gnu/llvm/lld/docs/ld.lld.1 @@ -214,7 +214,7 @@ followed by the name of the undefined symbol. Mark executable sections unreadable. This option is currently supported on x86-32, x86-64 (default), AArch64 (default), MIPS64, PowerPC32 (default), PowerPC64 (default), -RISC-V (default), and SPARC64. +RISC-V (default), and SPARC64 (default). .It Fl -exclude-libs Ns = Ns Ar value Exclude static libraries from automatic export. .It Fl -export-dynamic , Fl E |