[PATCH] D39963: [RISCV][RFC] Add initial RISC-V target and driver support

Ana Pazos via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 13 17:00:02 PST 2017


apazos added inline comments.


================
Comment at: lib/Driver/ToolChains/RISCV.cpp:86
+    CmdArgs.push_back("-lc");
+    CmdArgs.push_back("-lgloss");
+    CmdArgs.push_back("--end-group");
----------------
mgrang wrote:
> How about if our sysroot is linux (as opposed to elf)? There won't be any libgloss.a, right? Also there won't be a crt0.o (instead there will be crt1.o).
Supporting linux target is desirable early on because most of us will be using Qemu for running tests.


https://reviews.llvm.org/D39963





More information about the cfe-commits mailing list