[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
       
    Fri Aug 14 09:55:19 PDT 2020
    
    
  
MaskRay marked an inline comment as done.
MaskRay added inline comments.
================
Comment at: clang/include/clang/Driver/Options.td:3307-3310
+def fbinutils_version_EQ : Joined<["-"], "fbinutils-version=">, Group<f_Group>,
+  HelpText<"Produced object files can use ELF features only supported by ld newer than the specified version. If"
+  "-fno-integrated-as is specified, produced assembly can use newer ELF features. "
+  "'future' means that features not implemented by any known release can be used">;
----------------
jhenderson wrote:
> It might be helpful to indicate what the default is.
The default can be overridden by targets. Don't know how to document it.
(If this ever gets wider use, people may want to add a configure time variable.)
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