[PATCH] D33259: Don't defer to the GCC driver for linking arm-baremetal

Jonathan Roelofs via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 17 14:32:37 PDT 2017


jroelofs added inline comments.


================
Comment at: lib/Driver/ToolChains/BareMetal.h:42
+
+  const char *getDefaultLinker() const override { return "ld.lld"; }
+
----------------
compnerd wrote:
> I think that this really should be `ld` still, as that is the canonical name for the linker.
You mean `lld`?

```
$ lld
lld is a generic driver.
Invoke ld.lld (Unix), ld (macOS) or lld-link (Windows) instead.
```

Or are you saying: "make binutils ld the default, not llvm's lld"?


https://reviews.llvm.org/D33259





More information about the cfe-commits mailing list