Rui Ueyama released Mold 2.37 today as the newest feature update to this high performance linker as an alternative to GNU Gold and LLVM LLD.
Mold 2.37 begins making preparations for Intel’s upcoming Advanced Performance Extensions (APX). The updated Mold linker now handles the R_X86_64_CODE_4_{GOTPCRELX,GOTTPOFF,GOTPC32_TLSDESC} and R_X86_64_CODE_6_GOTTPOFF relocation types. These relocations are needed for Intel APX with its extended range of general purpose registers.
Mold 2.37 also now allows optionally promoting undefined weak symbols to dynamic symbols using the “-z dynamic-undefined-weak” linker option.
Mold 2.37 also brings some updates to the ARM 32-bit code, supports compressing debug sections while the separate debug file option is used, and other changes.
The Mold 2.37 linker can be downloaded from GitHub.