[PATCH] D13385: [ELF2] Add -init and -fini switches

Igor Kudrin via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 5 01:55:07 PDT 2015


ikudrin added a comment.

In http://reviews.llvm.org/D13385#258775, @ruiu wrote:

> What happens if the symbol given by -fini is in an archive? Does linker have to resolve the symbol by extracting and parsing the object file from the archive?


I investigated this case with ld. These switches don't force the linker to resolve these symbols. Moreover, there is even no warning if the symbols stay unresolved.


http://reviews.llvm.org/D13385





More information about the llvm-commits mailing list