[PATCH] D66340: [RISCV] Support NonLazyBind

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 14 10:57:29 PST 2021


MaskRay added a comment.

-fno-plt essentially inlines the PLT entry into the call site. For x86-64, there are benefits if many call sites are defined in different DSOs.

If the callee is actually defined, -fno-plt is actually pessimization. I don't think -fno-plt is useful. Usually people just need some `__attribute__((noplt))` on libc functions. Clang has not implemented it, though.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66340/new/

https://reviews.llvm.org/D66340



More information about the llvm-commits mailing list