[PATCH] D61613: [LLD][ELF] Add the -z ifunc-noplt option

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 8 21:14:53 PDT 2019


MaskRay added inline comments.


================
Comment at: lld/ELF/SyntheticSections.cpp:1238
   }
-  if (!Config->ZText)
+  if (!Config->ZText || Config->ZIfuncNoplt)
     DtFlags |= DF_TEXTREL;
----------------
Oh, this should probably be restored.

In http://lists.llvm.org/pipermail/llvm-dev/2018-August/125490.html , I think your opinion was that `-z text -z ifunc-noplt` = error.


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