v2.34.0
版本发布时间: 2024-09-25 13:04:28
rui314/mold最新发布版本:v2.34.0(2024-09-25 13:04:28)
mold 2.34.0 is a new release of the high-speed linker. It includes the following new features and bug fixes.
New features
- [ARM32] mold now deduplicates exception handling records in a
.ARM.exidx
section to reduce the size of the table. (742ea87d41856c34a53c163970f5d5ff8db73005) - [LoongArch] TLSDESC relocations are now supported. (dbaa6d73419bc03904f25debcd3ee5b8b1be8045)
Bug fixes and compatibility improvements
-
--build-id=fast
is now supported for compatibility with LLVM lld. mold handles it as a synonym for--build-id=sha256
. (afc52eea70edd3ab797bc4e39000bfbdd736826b) - Previously, if the same symbol was provided both by a static archive and dynamic library, and if the symbol's visibility was hidden, mold sometimes failed to link it and handled the symbol as if it were undefined. Now, mold can correctly link such programs. (1efbe3f1410283cb320d30dc971d5345a9b453a4)
- Under rare circumstances, mold could create corrupted binaries if they were linked with
--retain-symbols-file
. This bug has been fixed. (0ee12e411593e092f76020da6bcdae5e651246ac) - [LoongArch]
R_LARCH_CALL36
relocation with a large offset is now correctly written. (1c321022d0fc2c9bf1ad8757be7199167a2fcb15) - [FreeBSD] If all thread-local variables in a program have no initial values, mold-produced executables could crash or misbehave on FreeBSD. This bug has been fixed. (f6822fb0f3937f411e39f58bd1ab93e5851a3a19)
Dropped features
- DEC Alpha support has been removed due to lack of demand. In fact, mold's Alpha support has never been tested for real-world programs and was likely unable to link them in the first place. This should not affect anyone because the last Alpha processor was released more than 20 years ago. (3711ddb95e23c12991f6b8c7bfeba4f1421d19d4)
Acknowledgements
mold is an open-source project, and we accept donations via GitHub Sponsors and OpenCollective. We thank everyone who sponsors our project. In particular, we'd like to acknowledge the following organizations and people who have sponsored $32/mo or more during this release cycle:
1、 mold-2.34.0-aarch64-linux.tar.gz 7.84MB
2、 mold-2.34.0-arm-linux.tar.gz 7.35MB
3、 mold-2.34.0-ppc64le-linux.tar.gz 9.84MB
4、 mold-2.34.0-riscv64-linux.tar.gz 9.02MB
5、 mold-2.34.0-s390x-linux.tar.gz 9.03MB
6、 mold-2.34.0-x86_64-linux.tar.gz 7.8MB