diff options
author | Ambroise Vincent <ambroise.vincent@arm.com> | 2019-07-17 11:08:38 +0100 |
---|---|---|
committer | Mark Dykes <mardyk01@review.trustedfirmware.org> | 2020-01-17 16:48:18 +0000 |
commit | 641f16e75648d5cad3b21ce7c744bb7a2bc5a729 (patch) | |
tree | 21fd9fd2a96ac27ba28da0e93a706725538abb36 /docs | |
parent | 62ee142531d1874942971ebac0d54533b3661cd9 (diff) | |
download | arm-trusted-firmware-641f16e75648d5cad3b21ce7c744bb7a2bc5a729.tar.gz |
Set lld as the default linker for Clang builds
The LLVM linker replaces the GNU linker as default for the link on Clang
builds. It is possible to override the default linker by setting the LD build
flag.
The patch also updates the TF-A doc.
Change-Id: Ic08552b9994d4fa8f0d4863e67a2726c1dce2e35
Signed-off-by: Ambroise Vincent <ambroise.vincent@arm.com>
Signed-off-by: Zelalem Aweke <zelalem.aweke@arm.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/getting_started/initial-build.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/getting_started/initial-build.rst b/docs/getting_started/initial-build.rst index 893aba245..d4a8f0114 100644 --- a/docs/getting_started/initial-build.rst +++ b/docs/getting_started/initial-build.rst @@ -18,9 +18,10 @@ Performing an Initial Build It is possible to build TF-A using Clang or Arm Compiler 6. To do so ``CC`` needs to point to the clang or armclang binary, which will - also select the clang or armclang assembler. Be aware that the - GNU linker is used by default. In case of being needed the linker - can be overridden using the ``LD`` variable. Clang linker version 6 is + also select the clang or armclang assembler. Be aware that for Arm Compiler, + the GNU linker is used by default. However for Clang LLVM linker (LLD) + is used by default. In case of being needed the linker can be overridden + using the ``LD`` variable. LLVM linker (LLD) version 9 is known to work with TF-A. In both cases ``CROSS_COMPILE`` should be set as described above. @@ -114,4 +115,4 @@ Performing an Initial Build -------------- -*Copyright (c) 2019, Arm Limited. All rights reserved.* +*Copyright (c) 2020, Arm Limited. All rights reserved.* |