github rui314/mold v1.9.0
mold 1.9.0

latest releases: v2.34.1, v2.34.0, v2.33.0...
22 months ago

New features

  • mold gained support for the three new targets: 32-bit PowerPC, SH-4 and DEC Alpha. Each porting work didn't take more than a few days for us to complete, which demonstrate how portable the mold linker is. You can typically port mold to a new target just by writing a few hundreds lines of target-specific code. See arch-*.cc files in mold/elf/ directory to see how target-specific code actually looks like. (651adad, 3411e17, 6231510)

Bug fixes and compatibility improvements

  • In a rare occasion, a statically-initialized function pointer might get a wrong address in a statically-linked executable. This bug has been fixed. (ccd47db)
  • Fixed a -gdb-index option's crash bug on big-endian hosts. (3c96828)
  • [RISC-V] mold rewrote machine instructions in a wrong way as a result of a wrong R_RISCV_HI20 relaxation if the output file was being linked against the high address. It's not a problem for user-land programs, but kernels linked with mold could crash due to this bug. This bug has been fixed. (3c96828)

Acknowledgements

mold is an open-source project, and we accept donations via GitHub Sponsors and OpenCollective. We thank you to everybody 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:

Don't miss a new mold release

NewReleases is sending notifications on new releases.