From 48f3e72493c28d7721c6f25e644638bad5c63835 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 19 Feb 2020 11:02:12 -0800 Subject: linkers: Update the linker names to be more consistent This makes two basic changes, 1 it moves the name of the linker into the linker class, this should reduce the number of errors and typos, and ensure that a linker always has one name. This then renames the linkers to have more consistent names. Posix/gnu linkers are called ld.: ld.gold, ld.lld, ld.solaris. Apple linkers are renamed ld64. --- docs/markdown/Reference-tables.md | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'docs') diff --git a/docs/markdown/Reference-tables.md b/docs/markdown/Reference-tables.md index 9ac6459..9f432f0 100644 --- a/docs/markdown/Reference-tables.md +++ b/docs/markdown/Reference-tables.md @@ -35,20 +35,21 @@ These are return values of the `get_id` (Compiler family) and 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 | +| Value | Linker family | +| ----- | --------------- | +| ld.bfd | The GNU linker | +| ld.gold | The GNU gold linker | +| ld.lld | The LLVM linker, with the GNU interface | +| ld.solaris | Solaris and illumos | +| ld64 | Apple ld64 | +| link | MSVC linker | +| lld-link | The LLVM linker, with the MSVC interface | +| xilink | Used with Intel-cl only, MSVC like | +| optlink | optlink (used with DMD) | +| rlink | The Renesas linker, used with CCrx only | +| armlink | The ARM linker (arm and armclang compilers) | +| pgi | Portland/Nvidia PGI | +| nvlink | Nvidia Linker used with cuda | For languages that don't have separate dynamic linkers such as C# and Java, the `get_linker_id` will return the compiler name. -- cgit v1.1