v2.32.1
版本发布时间: 2024-06-27 14:43:25
rui314/mold最新发布版本:v2.34.0(2024-09-25 13:04:28)
mold 2.32.1 is a maintenance release of the high-speed linker.
Bug fixes and compatibility improvements
- Previously, shared libraries specified with
--as-needed
were not considered as "needed" if they were referenced only by weak undefined symbols. Such weak symbols were converted to absolute symbols at address zero at link-time. Although this behavior was not technically wrong, it caused a significant issue in a rare occasion (https://github.com/rui314/mold/issues/1286). Now, weak undefined symbols retain--as-needed
shared libraries. (06b592683c150a18d7808e6a91387c0393fa849b) - [RISC-V] RISC-V object files contain ISA strings in the
.riscv.attributes
section. Previously, we had reported valid ISA strings containing digits as errors. The issue has now been resolved. (841a186346f8e37871d978d76f60a4102d4cfc0f) - [RISC-V] We no longer write dynamic relocation addends to relocated places because it caused static position-independent executables to crash on process startup in some environments. In other words,
--no-apply-dynamic-relocs
is enabled by default. - LTO now works on MinGW. (50bf031d490e6fa40291a9a3639d368d8746c78a)
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.32.1-aarch64-linux.tar.gz 7.99MB
2、 mold-2.32.1-arm-linux.tar.gz 7.81MB
3、 mold-2.32.1-ppc64le-linux.tar.gz 10.04MB
4、 mold-2.32.1-riscv64-linux.tar.gz 9.48MB
5、 mold-2.32.1-s390x-linux.tar.gz 8.9MB
6、 mold-2.32.1-x86_64-linux.tar.gz 7.97MB