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
case EM_PPC:
case EM_PPC64:
case EM_RISCV:
+ case EM_SPARCV9:
case EM_X86_64:
config->executeOnly = true;
break;
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