[PATCH] D52430: Introduce a flag to warn when IFUNC symbols are used with text relocations.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 25 14:24:14 PDT 2018


ruiu added inline comments.


================
Comment at: ELF/Relocations.cpp:988
+          "a binary that will segfault, if the object file is linked with "
+          "glibc. Consider recompiling the object files without -fPIC and "
+          "without '-Wl,-z,notext' option: " + getLocation(Sec, Sym, Offset));
----------------
Does recompiling without -fPIC really fix the issue?


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D52430





More information about the llvm-commits mailing list