Skip to content

mold 2.32.1

Compare
Choose a tag to compare
@rui314 rui314 released this 27 Jun 06:43
· 199 commits to main since this release

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 (#1286). Now, weak undefined symbols retain --as-needed shared libraries. (06b5926)
  • [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. (841a186)
  • [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. (50bf031)

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: