kristina added a comment. The library shouldn't be an object file (it could be if you changed some stuff around but typically isn't), `libbuiltins` is a combination of multiple translation units, if you look at the source. I'm not sure how it's turning into an object file for you and even if it was you can pass an archive to the driver on the commandline and it would treat it like a group of objects. What is the generated output you're getting when you build it for bare metal?
https://reviews.llvm.org/D51899 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits