diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2023-02-03 05:59:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2023-02-03 05:59:10 +0000 |
commit | 33a3722023f540a567d8e75c5cfbd4f92a2ffa62 (patch) | |
tree | 4148cc9ee117591a265a49254b4ce865e3dcc153 /gnu | |
parent | 46641cdacb0ac756e44ec28fced0041dc565d68e (diff) |
default sparc64 ld.lld to --execute-only
Note this doesn't actually work yet for anything big -- some unknown
stuff needs to be fixed. Also ld.lld isn't the default sparc64 ld yet.
But at least having this available during normal builds, to test iterate
upon, will speed up either of those desireable outcomes.
ok claudio
Diffstat (limited to 'gnu')
-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 |