[PATCH] D61613: [LLD][ELF] Add the -z ifunc-noplt option
Ed Maste via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 7 07:18:07 PDT 2019
emaste added inline comments.
================
Comment at: lld/docs/ld.lld.1:552-553
+Instead, emit text relocations referencing the resolver.
+This is an experimental optimization and only suitable for standalone
+environments where text relocations are permitted.
.It Cm initfirst
----------------
ruiu wrote:
> IIRC, text relocations are not preferred but actually permitted in most environment, no? I'd mention that this option is intended to be used for the kernel where an existence of text relocation doesn't matter but the cost of PLT matters.
I think that's fair - by default the linker won't permit the creation of .text relocations but they are permitted by the runtime environment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61613/new/
https://reviews.llvm.org/D61613
More information about the llvm-commits
mailing list