[PATCH] D85474: Add -fbinutils-version= to gate ELF features on the specified binutils version

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 20 18:28:36 PDT 2020


MaskRay added a comment.

In D85474#2342365 <https://reviews.llvm.org/D85474#2342365>, @compnerd wrote:

> Is there a reason to not use the existing `-mlinker-version=` option and expanding that beyond just Darwin targets?  I feel like having the same option would be much nicer.

`-mlinker-version` is currently a macOS option. We could reuse it but that would be confusing: when -fuse-ld=lld is specified, does it specify the lld version? (No)
There are also GNU as related issues.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85474



More information about the cfe-commits mailing list