v0.9.4
版本发布时间: 2021-08-28 20:12:54
rui314/mold最新发布版本:v2.34.0(2024-09-25 13:04:28)
mold is a new linker that is optimized for modern multi-core machines. mold is command-line compatible with the other major linkers, GNU ld, GNU gold and LLVM lld, yet it is several times faster than them. Its goal is to increase programmer productivity by speeding up program build time, especially for rapid edit-build-test-debug cycles.
Highlights of mold 0.9.4
-
mold -run
now intercepts invocations ofld
,ld.lld
andld.gold
wherever they are in the directory hierarchy. Previously, they were intercepted only if they were in/usr/bin
. This change was made because it is not uncommon to install a compiler toolchain into a directory other than the system bin directory. - AArch64 (Arm 64-bit) support has been significantly improved. mold can now link many real-world programs including itself for AArch64.
- Fix an issue that relocation addends were not handled correctly for i386.
- mold is now able to link LLVM compiler-rt's CRT files.
- Fix an issue that a dynamic relocation was created for a read-only section if the relocation refers an unresolved weak symbol.
- Undefined weak symbols are now always resolved to address 0 instead of being promoted to dynamic symbols.