[PATCH] D52430: Introduce a flag to warn when IFUNC symbols are used with text relocations.
Ali Tamur via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 25 15:32:47 PDT 2018
tamur marked 7 inline comments as done.
tamur 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));
----------------
ruiu wrote:
> Does recompiling without -fPIC really fix the issue?
Linking without -fPIC and without -z,notext fixes the issue.
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D52430
More information about the llvm-commits
mailing list