[PATCH] D127826: [Driver] Pass -X to ld for riscv*-{elf,freebsd,linux}

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 16 23:23:57 PDT 2022


MaskRay added a subscriber: dim.
MaskRay added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/FreeBSD.cpp:226
     CmdArgs.push_back("elf32lriscv");
+    CmdArgs.push_back("-X");
     break;
----------------
@dim FYI


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127826



More information about the cfe-commits mailing list