[PATCH] D48507: [mips] Explicitly specify the linker emulation for MIPS on FreeBSD.

John Baldwin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 26 09:12:20 PDT 2018


bsdjhb added inline comments.


================
Comment at: lib/Driver/ToolChains/FreeBSD.cpp:197
+    CmdArgs.push_back("-m");
+    CmdArgs.push_back("elf64ltsmip_fbsd");
+    break;
----------------
atanasyan wrote:
> Does it make a sense to handle N32 ABI case here?
For whatever reason, FreeBSD only supports N32 on big-endian.  However, binutils does ship elf32ltsmipsn32_fbsd linker scripts after all, so I could handle little-endian N32 here.


Repository:
  rC Clang

https://reviews.llvm.org/D48507





More information about the cfe-commits mailing list