[PATCH] D52567: Add an explanation about cross linking.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 1 09:43:40 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL343495: Add an explanation about cross linking. (authored by ruiu, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D52567?vs=167169&id=167754#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D52567

Files:
  lld/trunk/docs/ld.lld.1


Index: lld/trunk/docs/ld.lld.1
===================================================================
--- lld/trunk/docs/ld.lld.1
+++ lld/trunk/docs/ld.lld.1
@@ -3,7 +3,7 @@
 .\"
 .\" This man page documents only lld's ELF linking support, obtained originally
 .\" from FreeBSD.
-.Dd September 14, 2018
+.Dd September 26, 2018
 .Dt LD.LLD 1
 .Os
 .Sh NAME
@@ -13,6 +13,7 @@
 .Nm ld.lld
 .Op Ar options
 .Ar objfile ...
+
 .Sh DESCRIPTION
 A linker takes one or more object, archive, and library files, and combines
 them into an output file (an executable, a shared library, or another object
@@ -25,7 +26,21 @@
 It accepts most of the same command line arguments and linker scripts
 as GNU linkers.
 .Pp
-These options are available:
+.Nm
+currently supports i386, x86-64, ARM, AArch64, PowerPC32, PowerPC64,
+MIPS32, MIPS64, RISC-V, AMDGPU, Hexagon and SPARC V9 targets.
+.Nm
+acts as a Microsoft link.exe-compatible linker if invoked as
+.Nm lld-link
+and as macOS's ld if invoked as
+.Nm ld.ld64.
+All these targets are always supported however
+.Nm
+was built, so you can always use
+.Nm
+as a native linker as well as a cross linker.
+
+.Sh OPTIONS
 .Bl -tag -width indent
 .It Fl -allow-multiple-definition
 Do not error if a symbol is defined multiple times.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52567.167754.patch
Type: text/x-patch
Size: 1264 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181001/89e81c6e/attachment.bin>


More information about the llvm-commits mailing list