From 9e7cca1472891582d6369c8f11f46163f7265168 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 18 Feb 2020 14:22:13 -0800 Subject: [PATCH] docs: Fix reference table for linker names These are pretty much all over the place because I never intended them to be exposed to the meson source language, they were meant just for documentation. --- docs/markdown/Reference-tables.md | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/docs/markdown/Reference-tables.md b/docs/markdown/Reference-tables.md index 86524b7ca..9ac64597f 100644 --- a/docs/markdown/Reference-tables.md +++ b/docs/markdown/Reference-tables.md @@ -33,16 +33,26 @@ These are return values of the `get_id` (Compiler family) and ## Linker ids -These are return values of the `get_linker_id` (Linker family) method in a compiler object. - -| Value | Linker family | -| ----- | --------------- | -| ld.bfd | GNU Compiler Collection | -| {ld.bfd,lld} | Clang non-Windows | -| link | MSVC, Clang-cl, clang Windows | -| pgi | Portland/Nvidia PGI | -| {ld.bfd,gold,xild} | Intel compiler non-Windows | -| xilink | Intel-cl Windows | +These are return values of the `get_linker_id` method in a compiler object. + +| Value | Linker family | +| ----- | --------------- | +| ld.bfd | The GNU linker | +| ld.gold | The GNU linker | +| lld | The LLVM linker, with the GNU interface | +| link | MSVC linker | +| pgi | Portland/Nvidia PGI | +| lld-link | The LLVM linker, with the MSVC interface | +| xilink | Used with Intel-cl only, MSVC like | +| rlink | The Renesas linker, used with CCrx only | +| armlink | The ARM linker (arm and armclang compilers) | +| optlink | optlink | +| APPLE ld | Apple ld64 | +| solaris | Solaris and illumos | + +For languages that don't have separate dynamic linkers such as C# and Java, the +`get_linker_id` will return the compiler name. + ## Script environment variables