[PATCH] D46544: Set DF_TEXTREL only if text relocations are really needed.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 9 17:22:08 PDT 2018


MaskRay abandoned this revision.
MaskRay added a comment.

I feel lld's `-z notext` `-z text` is better than ld.bfd/gold's on-demand `DT_TEXTREL` tag. FWIW, glibc 2.19 (the next release) has addressed the incompatibility between DT_TEXTREL and IFUNC https://sourceware.org/bugzilla/show_bug.cgi?id=20480#c19


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D46544





More information about the llvm-commits mailing list