[PATCH] D38513: [LLD] [RFC] [COFF] Add support for GNU binutils import libraries
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 3 13:39:37 PDT 2017
ruiu added a comment.
Import library files are tricky, and I don't fully understand how it works in the MSVC linker. It seems that because import libraries contain sections such as .idata$2, .idata$3, etc., they would be "naturally" processed and sorted in the MSVC linker, and as a result a correct output would be created. But I couldn't figure that out. So, lld implements a special logic for the import library.
I have two questions:
1. Do you think you can figure out what MSVC does for the import libary?
2. Why does GNU binutils create an import library that is different from MSVC's?
https://reviews.llvm.org/D38513
More information about the llvm-commits
mailing list