================
@@ -645,6 +645,10 @@ const char *tools::getLDMOption(const llvm::Triple &T, 
const ArgList &Args) {
     return "elf64ve";
   case llvm::Triple::csky:
     return "cskyelf_linux";
+  case llvm::Triple::hexagon:
+    if (T.isOSLinux())
+      return "hexagonlinux";
----------------
MaskRay wrote:

`aarch64` made a mistake by having both `aarch64elf` and `aarch64linux`. I 
think Hexagon should follow the lead of x86_64, riscv64 and use a single 
emulation. If you want additionally linker options for `isOSLinux`, change the 
driver code to specify the extra linker options. 

The extra emulation is unneeded.

https://github.com/llvm/llvm-project/pull/185745
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to