Mold 2.32 Released With Increased LLVM LLD Compatibility, Faster Identical Code Folding

Written by Michael Larabel in Programming on 9 June 2024 at 06:07 AM EDT. 11 Comments
PROGRAMMING
Mold 2.32 is out as the newest feature release for this high speed code linker that rivals LLVM LLD and GNU Gold.

With Mold 2.32 comes support for faster Identical Code Folding (ICF) as a means of finding identical functions and merging them to reduce the size of the output file.Identical Code Folding with Mold has been found to be very helpful for template-heavy C++ programs. With Mold 2.32, their ICF algorithm is around 50% faster than with previous versions.

Mold 2.32 also adds support for the "-z rodynamic" option to increase its compatibility with LLVM LLD. The option will place the ".dynamic" sections into read-only segments.

Mold


The Mold 2.32 linker also has a variety of bug fixes, including for issues on ARM64, POWER 64-bit, and LoongArch.

Downloads and more details on today's Mold 2.32 release via GitHub.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week