| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| mold-2.40.3-x86_64-windows.zip | 2025-07-30 | 4.9 MB | |
| mold-2.40.3-aarch64-linux.tar.gz | 2025-07-30 | 5.0 MB | |
| mold-2.40.3-arm-linux.tar.gz | 2025-07-30 | 5.1 MB | |
| mold-2.40.3-loongarch64-linux.tar.gz | 2025-07-30 | 5.1 MB | |
| mold-2.40.3-ppc64le-linux.tar.gz | 2025-07-30 | 6.7 MB | |
| mold-2.40.3-riscv64-linux.tar.gz | 2025-07-30 | 5.3 MB | |
| mold-2.40.3-s390x-linux.tar.gz | 2025-07-30 | 7.8 MB | |
| mold-2.40.3-x86_64-linux.tar.gz | 2025-07-30 | 5.1 MB | |
| mold 2.40.3 source code.tar.gz | 2025-07-30 | 11.0 MB | |
| mold 2.40.3 source code.zip | 2025-07-30 | 12.7 MB | |
| README.md | 2025-07-30 | 1.1 kB | |
| Totals: 11 Items | 68.9 MB | 0 | |
mold 2.40.3 is a maintenance release of the high-speed linker.
Bug Fixes and Compatibility Improvements
- Starting from 2.40.1, mold wrote not a single but multiple concatenated zlib-compressed streams to debug sections if
--compress-debug-sections=zlibwas given. Although most tools can read such concatenated compressed data, some tools, such as LLVM'sdwarfdumpor Go'sdebug/elfpackage, couldn't handle them, which caused a regression. Now, mold emits a single zlib stream to each debug section. (201bc71b42fecaa2ba7c6f4c39dc8f86d3fca8b8) - If a command-line argument is in the form of
@path/to/some/file, the linker reads the contents of the given file and interprets it as a list of command-line arguments. Such a file is called a "response file." Previously, mold could not handle partially-quoted tokens in a response file (e.g.-L"some/path"as opposed to"-Lsome/path"). Now, mold can handle such arguments. (6e8852ea2a856b75601fbf0736445caeba0ec9fc) - [PPC64]
R_PPC64_GOT16*relocations are now supported. (5485fdec1b2bbe26abd0fb026faee0c1204f0a03)