crosstool-ng/config/linker.in
Arnaud Vrac f9ab04b63a Add mold linker build
Allows building the #mold linker, which can then be used in the
cross-toolchain by passing the -fuse-ld=mold to the gcc flags. It is
much faster than ld or gold.

This requires a C++20 compiler and cmake.

Initially implemented by Arnaud, and HC added configure check for cmake.

Outstanding task to validate compiler is C++20 compatible.

Signed-off-by: Arnaud Vrac <avrac@freebox.fr>
Signed-off-by: Hans-Christian Noren Egtvedt <egtvedt@samfundet.no>
2024-06-05 19:31:45 +12:00

13 lines
275 B
Plaintext

menu "Linkers"
if BINUTILS_LINKER_LD || BINUTILS_LINKER_BOTH
comment "BFD enabled in binutils"
endif # BINUTILS_LINKER_LD
if BINUTILS_LINKER_GOLD || BINUTILS_LINKER_BOTH
comment "GOLD enabled in binutils"
endif # BINUTILS_LINKER_GOLD
source "config/gen/linker.in"
endmenu