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

Peter Collingbourne via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 3 13:18:29 PST 2020


pcc added a comment.

I agree with @MaskRay that this should be a binutils-specific option. The flag `-mlinker-version` seems to have been designed around macOS-specific assumptions i.e. there is a single linker (ld64) and that the linker and assembler are not version coupled. Having this option be binutils-specific seems like the best way to reflect the binutils-specific requirements.


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