[PATCH] D38513: [LLD] [RFC] [COFF] Add support for GNU binutils import libraries

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 12 10:40:44 PDT 2017


smeenai added a comment.

Thanks for the detailed explanation! I'm pretty familiar with how short import libraries work, but I hadn't looked into MinGW-style import libraries too much before.

I played around with them a bit, and judging from the output of running link with `/verbose`, link also pulls libraries in order of reference, so I'm not sure how the ordering works out there. My hypothesis is that link might special-case zero-sized sections, but I have no evidence to back that up yet. I'm planning to play around with custom object files with zero-sized sections constructed via `yaml2obj` to see if that hypothesis holds up.


https://reviews.llvm.org/D38513





More information about the llvm-commits mailing list