[PATCH] D87162: [Driver] Allow -specs and -nostartfiles to be forwarded to GCC

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 4 15:11:03 PDT 2020


MaskRay added a comment.

LGTM.

> It's probably not used very common, but we do have some baremetal use cases still relying on these flags to be propagated to GCC.

Thanks for the explanation! (Though I think in these cases calling `ld` or `ld.lld` directly might be better?)

And apologies about the friction but I hope the current behavior is better than the previous whether many unrelated options can be forwarded and many can cause warnings on GCC side.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87162/new/

https://reviews.llvm.org/D87162



More information about the cfe-commits mailing list