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

Joerg Sonnenberger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 8 15:12:48 PDT 2018


joerg added a comment.

"-z textrel" can also be used in build instructions if some platforms will need it, even if not all of them do.

I consider the ifunc in combination with relro example as primary case for those issues a design bug in at least GNU ld. It's not even about text relocations really.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D46544





More information about the llvm-commits mailing list